<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Syntax Notes @ LongLiveTheMonkey.com</title>
	<atom:link href="http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.longlivethemonkey.com/syntaxnotes</link>
	<description>notes, how to&#039;s, tutorials, problem solving in COMPUTER SCIENCE</description>
	<lastBuildDate>Thu, 26 Apr 2012 18:55:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Two Column List With CSS</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=173</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=173#comments</comments>
		<pubDate>Wed, 07 Mar 2012 14:46:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[MS IE]]></category>
		<category><![CDATA[NIFTY TRICKS]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=173</guid>
		<description><![CDATA[PROBLEM I wanted to do a list of items in two columns with a border around the list. I didn&#8217;t want to use two floated divs in order to get the look I wanted (nor tables). Also, I didn&#8217;t want to break up the list. I wanted the HTML to be simple. I started out [...]]]></description>
			<content:encoded><![CDATA[<p><strong>PROBLEM</strong><br />
I wanted to do a list of items in two columns with a border around the list. I didn&#8217;t want to use two floated divs in order to get the look I wanted (nor tables). Also, I didn&#8217;t want to break up the list. I wanted the HTML to be simple.</p>
<p>I started out with some old code I found which used floats and widths on each li. However after the list I needed to do a clear so the border would go around the entire list. This clear caused problems since it cleared my other floated divs (for page layout).</p>
<p>Here&#8217;s the HTML I wanted to use:</p>
<blockquote><p>
&lt;div class=&#8221;summary_container&#8221;&gt;<br />
 &lt;ul class=&#8221;two_column_ul&#8221;&gt;<br />
  &lt;li&gt;Overview&lt;/li&gt;<br />
  &lt;li&gt;&lt;a title=&#8221;Training &amp; Education&#8221; href=&#8221;"&gt;Training &amp; Education&lt;/a&gt;&lt;/li&gt;<br />
  &lt;li&gt;&lt;a title=&#8221;Staff&#8221; href=&#8221;"&gt;Staff&lt;/a&gt;&lt;/li&gt;<br />
  &lt;li&gt;&lt;a title=&#8221;Collaborators&#8221; href=&#8221;"&gt;Collaborators&lt;/a&gt;&lt;/li&gt;<br />
  &lt;li&gt;&lt;a title=&#8221;Research Areas&#8221; href=&#8221;"&gt;Research Areas&lt;/a&gt;&lt;/li&gt;<br />
  &lt;li&gt;&lt;a title=&#8221;Scientific Articles&#8221; href=&#8221;"&gt;Scientific Articles&lt;/a&gt;&lt;/li&gt;<br />
  &lt;li&gt;&lt;a title=&#8221;Scientific Resources&#8221; href=&#8221;"&gt;Scientific Resources&lt;/a&gt;&lt;/li&gt;<br />
  &lt;li&gt;&lt;a title=&#8221;Image Library&#8221; href=&#8221;"&gt;Image Library&lt;/a&gt;&lt;/li&gt;<br />
 &lt;/ul&gt;<br />
 &lt;!&#8211; this is where the clear would go if necessary &lt;div class=&#8221;clear&#8221;&gt;&lt;/div&gt; &#8211;&gt;<br />
&lt;/div&gt;
</p></blockquote>
<p><strong>SOLUTION</strong><br />
After attempts at floating and clearing the float, I eventually gave up. I tried to do an inline-block on the li, which worked great in FireFox but IE choked.</p>
<p>The CSS I finally used was the following:</p>
<blockquote><p>
div.summary_container {<br />
	border:						1px solid #DEE6F3;<br />
	padding:					5px 5px 15px;<br />
}</p>
<p>div.summary_container ul.two_column_ul {<br />
	margin: 					0 0 0 20px;<br />
	padding:					0;<br />
	list-style:					none;<br />
}</p>
<p>div.summary_container ul.two_column_ul li {<br />
	display:					-moz-inline-stack;<br />
	display:					inline-block;<br />
	zoom:						1;<br />
	*display:					inline;<br />
    margin:						0;<br />
    padding:					6px 0 0 14px;<br />
    width:						220px;<br />
}
</p></blockquote>
<p>I hope this can help someone else.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=173</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gap At Bottom Of Div With Image In IE</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=167</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=167#comments</comments>
		<pubDate>Fri, 27 Jan 2012 15:06:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[MS IE]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=167</guid>
		<description><![CDATA[PROBLEM Here&#8217;s another one of those weird IE bugs. There is a gap at the bottom of the div that has an image in it. The image may or may not be linked. In my case, it was a banner that has an image that is using an (ew) image map for links. There is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>PROBLEM</strong><br />
Here&#8217;s another one of those weird IE bugs. There is a gap at the bottom of the div that has an image in it. The image may or may not be linked.</p>
<p>In my case, it was a banner that has an image that is using an (ew) image map for links.</p>
<p>There is a strange gap at the bottom between the two divs. Only in IE, of course.</p>
<p><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2012/01/2012-01-27_100315.png"><img class="aligncenter size-full wp-image-169" title="2012-01-27_100315" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2012/01/2012-01-27_100315.png" alt="Small two pixel gap between divs" width="192" height="71" /></a></p>
<p>There isn&#8217;t anything in my CSS that would cause this, of course.</p>
<p><strong>SOLUTION</strong><br />
Since IE has a problem&#8230; well, let&#8217;s face it, it has many problems&#8230; It thinks there is to be text in that space. Or whatever.</p>
<p>To get rid of the gap add font-size: 0; to the div which contains the image. The gap is closed.</p>
<p>I need to remember this fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=167</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Reader Not Working</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=152</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=152#comments</comments>
		<pubDate>Tue, 29 Nov 2011 17:33:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Application/Utility]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[SPECIAL COMMENT]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=152</guid>
		<description><![CDATA[PROBLEMGoogle updated Google Reader about two to three weeks ago. The interface is a lot different than what it used to be. Even on google.com/reader, they have a screen shot of the old interface which was a lot nicer and easier. Anyway, I noticed that I couldn&#8217;t read any of my new feeds. If I [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><strong>PROBLEM</strong><br />Google updated Google Reader about two to three weeks ago. The interface is a lot different than what it used to be. Even on <a title="Google Reader" href="http://www.google.com/reader" target="_blank">google.com/reader</a>, they have a screen shot of the old interface which was a lot nicer and easier.</p>
<p>Anyway, I noticed that I couldn&#8217;t read any of my new feeds. If I had a feed that had more than one new posting, I was unable to scroll down to see them. I had tried everything with the new Google Reader. What&#8217;s more is that when I tried the new &#8220;Sort&#8221; feature from the dropdown, it would freeze and not do anything. Here is a screen shots:</p>
<p style="text-align: center;"><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2011/11/2011-11-29_122230.png"><img class="size-medium wp-image-153  aligncenter" title="2011-11-29_122230" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2011/11/2011-11-29_122230-300x225.png" alt="Google Reader only showing one result, no scroll option" width="300" height="225" /></a></p>
<p style="text-align: left;"><strong>SOLUTION</strong><br />After a few weeks and <a title="Twitter - niles38" href="http://www.twitter.com/niles38" target="_blank">tweets</a> about this issue I was running out of ideas and patience. It had never occured to me that it might be my browser. I&#8217;m still running FF 3.6 since I have a bunch of add-ons that still aren&#8217;t supported by the new FF 292834.</p>
<p style="text-align: left;">Switching to Chrome, I get a nice little custom scroll bar on the right and all my feeds are able to be read again. And I can even sort!</p>
<p style="text-align: left;"><strong>SPECIAL COMMENT</strong><br />WTF, Google? Really? You didn&#8217;t test the new Google Reader in FF 3.6 which is still used by 8% of the population. And no warning or anything either that I may be using an out of date browser that can&#8217;t support your new flashy Reader. So now I&#8217;m going to have to view my feeds in Chrome. Does your IE7 crowd (3.5% of the population) get the same respect?</p>
<p style="text-align: left;">Come on, man!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=152</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Date Field Not Showing Up On Add/Edit Content In Drupal</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=148</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=148#comments</comments>
		<pubDate>Fri, 04 Nov 2011 19:51:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=148</guid>
		<description><![CDATA[ISSUESo I don&#8217;t know what it is about Drupal 7, but it just seems to been more difficult to work with and a lot more frustrating than Drupal 6. I really think it hates me. Anyway, so I was setting up this website with different content types, one being a news article. I wanted to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />So I don&#8217;t know what it is about Drupal 7, but it just seems to been more difficult to work with and a lot more frustrating than Drupal 6. I really think it hates me.</p>
<p>Anyway, so I was setting up this website with different content types, one being a news article. I wanted to put a field where they could choose a date easily so I installed the Date module. I created some SQL in a block to get the latest news articles and sort by date (since I loathe Views). Everything was working well. About a month later the client wants me to put another news article on their site. I originally had hoped that would be something they&#8217;d be doing themselves but whatever.</p>
<p>So I go to add it and the date field does not appear on the news article on add and it wasn&#8217;t on edit either.</p>
<p>I&#8217;m baffled for a few minutes and click around. I then checked the modules to see if any configuration was wrong. It turns out, Date was inactivated for some reason.</p>
<p>I activated it which I would image would solve the problem but it did not. The date was still not showing up on content types.</p>
<p>I was tempted to make another date and replace that date instead since I wanted to get this done.  Well to make the short story long, my SQL I came up with after I created another date field didn&#8217;t work and I couldn&#8217;t remember the credentials for the DB. I was left to actually solve the problem&#8230; Gasp!</p>
<p><strong>SOLUTION</strong><br />I went back and forth with trying to edit the date. That was my first instict. However that kept not working. I then noticed a screen after the initial save screen (when editing a date). It contained just a select menu that was required. I noticed the value &#8220;Please Select&#8221; or something like it. So I chose the &#8220;Pop-up calendar&#8221;. Wow that worked!</p>
<p>Here&#8217;s what the screen looks like in edit mode:<br /><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2011/11/2011-11-04_154731.png"><img class="aligncenter size-medium wp-image-149" title="2011-11-04_154731" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2011/11/2011-11-04_154731-300x87.png" alt="Change Widget, Widget Type" width="300" height="87" /></a>I hope this can try to help someone else out. I was googling everything and anything with the Date module.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=148</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Background Image Won&#8217;t Display In Div In IE7</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=139</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=139#comments</comments>
		<pubDate>Sun, 14 Aug 2011 22:32:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[MS IE]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=139</guid>
		<description><![CDATA[ISSUEI need to do round borders for IE 6-8 users. Since I already have to use images to generate the borders, I might as well make them fancy and add a little shading. However, when I go to view my new div in IE7, the background of the div does not show up&#8230; In other [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />I need to do round borders for IE 6-8 users. Since I already have to use images to generate the borders, I might as well make them fancy and add a little shading. However, when I go to view my new div in IE7, the background of the div does not show up&#8230; In other words, the two borders are not visible.</p>
<p style="text-align: left;">Here&#8217;s what happens:<br /><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2011/08/IE7_no_background.png"><img class="size-medium wp-image-140  aligncenter" title="Background Image Not Showing Up In IE7" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2011/08/IE7_no_background-300x121.png" alt="Background Image Not Showing Up In IE7" width="300" height="121" /></a>My HTML code:</p>
<blockquote><p>&lt;div class=&#8221;node_content&#8221;&gt;<br /> &lt;div class=&#8221;inside_content&#8221;&gt;<br /> content&#8230;<br /> &lt;/div&gt;&lt;/div&gt;<br /> &lt;div class=&#8221;node_content_end&#8221;&gt;&lt;/div&gt;</p>
</blockquote>
<p>My CSS for <strong>.inside_content</strong>:</p>
<blockquote><p>.node_content .inside_content {<br /> background-image:            url(&#8220;images/node_content_border_inside.png&#8221;);<br /> background-repeat:           repeat-y;<br /> padding:                     0px 15px;<br /> }</p>
</blockquote>
<p><strong>SOLUTION</strong><br />After a google search and a shot in the dark, it turns out, IE7 needs to know a background-color for some strange reason.</p>
<p>Adding a background-color: #FFFFFF; to the .inside_content class did the trick. The image (border) displays fine in IE7.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=139</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making A CheckBox In GridView 508 Compliant</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=135</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=135#comments</comments>
		<pubDate>Wed, 01 Jun 2011 12:22:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[508 Compliance]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=135</guid>
		<description><![CDATA[ISSUE Since all HHS government websites need to be 508 compliant by May 2013, my company has been running around trying to make them compliant now. We have quite a few old applications which are still being used. It&#8217;s my job to review them for compliancy and fix some of them. The issue I had [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE<br />
</strong>Since all HHS government websites need to be 508 compliant by May 2013, my company has been running around trying to make them compliant now. We have quite a few old applications which are still being used. It&#8217;s my job to review them for compliancy and fix some of them.</p>
<p>The issue I had was with a .NET application. On a search page they&#8217;re using a <strong>asp:GridView </strong>control which gets the results. One of the results is put into a check box (an <strong>asp:CheckBox</strong>). 508 says there should be a <strong>label</strong> tag or a <strong>title</strong> attribute associated with any input form field (even disabled ones):</p>
<blockquote><p>&lt;asp:GridView ID=&#8221;GridView1&#8243; OnSorting=&#8221;GridView_Sorting&#8221; AutoGenerateColumns=&#8221;False&#8221; runat=&#8221;server&#8221; CellPadding=&#8221;4&#8243; GridLines=&#8221;None&#8221; AllowSorting=&#8221;True&#8221;&gt;<br />
&lt;Columns&gt;<br />
&lt;asp:TemplateField HeaderText=&#8221;Attending&#8221;&gt;<br />
&lt;ItemTemplate&gt;<br />
&lt;asp:CheckBox ID=&#8221;Attending&#8221; Checked=&#8217;&lt;%# GetCheckValue(Container.DataItem) %&gt;&#8217; Enabled=&#8217;&lt;%# GetCheckEnable(Container.DataItem) %&gt;&#8217; runat=&#8221;Server&#8221; /&gt;<br />
&lt;/ItemTemplate&gt;<br />
&#8230;<br />
&lt;/asp:TemplateField&gt;<br />
&#8230;<br />
&lt;/Columns&gt;<br />
&lt;/asp:GridView&gt;</p></blockquote>
<p>The problem is we need to make sure the check box has either a label or a title associated with it.</p>
<p>In .NET you&#8217;re allowed to add a <strong>ToolTip</strong> (title attribute) to asp check boxes. However it added it to a <strong>&lt;span&gt;</strong> which it generates outside the actual <strong>&lt;input type=&#8221;checkbox&#8221;&gt;</strong> code.</p>
<p><strong>FIX</strong><br />
After a little while googling around I wasn&#8217;t able to find anything that would let me either get the ID (which it generates) so I can put a label next to it or actually have the title IN the check box.</p>
<p>A shot in the dark made it work. I had to add an attribute <strong>Text</strong> to the <strong>asp:CheckBox</strong> . This generates a label next to the check box in the client side code.</p>
<p>Since the application I&#8217;m working on doesn&#8217;t need to display anything  next to it, I put the text in a .hide class which hides it.</p>
<blockquote><p>Text=&#8221;&lt;span class=&#8217;hide&#8217;&gt;Attending&lt;/span&gt;&#8221;</p></blockquote>
<p>Some cons are that its label is the same everywhere. I&#8217;m sure some mad .NET developer can whip up something that can change it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=135</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE9 Text Running Into Text, Not Clearing Divs</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=128</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=128#comments</comments>
		<pubDate>Tue, 01 Mar 2011 15:41:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[MS IE]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=128</guid>
		<description><![CDATA[ISSUEUpon testing an application I&#8217;m working on I noticed that IE9 wasn&#8217;t properly clearing text after floated divs. I have a big div which encompasses two floating divs (aka a two column display). A table is underneath the big div but with no clear. The reason there isn&#8217;t a clear is because the two column [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />Upon testing an application I&#8217;m working on I noticed that IE9 wasn&#8217;t properly clearing text after floated divs. I have a big div which encompasses two floating divs (aka a two column display). A table is underneath the big div but with no clear. The reason there isn&#8217;t a clear is because the two column display is part of the right div of another two column display, if that makes sense.</p>
<p>Here&#8217;s the screen shot of what&#8217;s happening:</p>
<p><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2011/03/ie9_overflow_ss.png"><img class="aligncenter size-medium wp-image-129" title="IE9 Text Overlapping" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2011/03/ie9_overflow_ss-300x190.png" alt="" width="300" height="190" /></a>Bare in mind this only happens in Internet Explorer 9. All the rest of the browsers I test (including the likes of IE6 and IE7) all rendered it fine. Chrome, Safari, Opera, and Firefox were all good.</p>
<p>I understood the issue of why it was happening, but confused as to how to fix it.</p>
<p>It&#8217;s been a common issue with floating divs that the two columns are not equal height. There are a <a title="Matthew James Taylor - Equal Height Columns" href="http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks" target="_blank">few tricks</a> to do it, none of which I have implemented with much success.</p>
<p>The code is like this:</p>
<blockquote><p>&lt;div class=&#8221;entry&#8221;&gt;<br /> &#8230;<br /> &lt;div class=&#8221;list_container&#8221;&gt;<br /> &lt;div class=&#8221;left_list_container&#8221;&gt;<br /> &#8230;<br /> &lt;/div&gt;<br /> &lt;div class=&#8221;right_list_container&#8221;&gt;<br /> &#8230;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br />&lt;/div&gt; &lt;!&#8211; entry end &#8211;&gt;<br />&lt;table&gt;&lt;tr&gt;&lt;td&gt;&#8230;.&lt;/td&gt;&lt;td&gt;&#8230;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</p>
</blockquote>
<p>With the CSS being:</p>
<blockquote><p>div.entry { width: 720px; }<br />div.list_container { width: 100%; }<br />div.left_list_container { float: left; width: 300px; }</p>
<p>div.right_list_container { margin-left: 300px; max-width: 300px; }</p>
</blockquote>
<p>Like I said before, I understand why it was doing it, I just wasn&#8217;t sure how to fix it.</p>
<p>Since this is an IE9 only bug, it was kinda hard finding a solution. I  started primitively googling for IE9 bugs (which there aren&#8217;t many that  are found yet).</p>
<p>I tried modifying the list_container class with no success. I added extra padding to the bottom, extra margin but nothing.</p>
<p>I tried to add a <strong>&lt;div class=&#8221;clear&#8221;&gt;&lt;/div&gt;</strong> in the middle of the entry div and table but that pushed the table past the bigger floating div, which isn&#8217;t want I wanted.</p>
<p><strong>FIX</strong><br />By adding an <strong>overflow: hidden</strong> to the <strong>div.entry</strong> class, it fixed the problem.  The table doesn&#8217;t run into the floated div now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=128</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocks Only Seen By Administrator In Drupal</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=121</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=121#comments</comments>
		<pubDate>Tue, 21 Dec 2010 20:15:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=121</guid>
		<description><![CDATA[ISSUEIt really does erk me that Drupal doesn&#8217;t have an option for administrators in the Show blocks for specific roles when editing a block. I needed a customized menu for a role (reg_user). This role had limited, basic access to do things. They needed to add news articles (a news content type I created) as [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />It really does erk me that Drupal doesn&#8217;t have an option for administrators in the Show blocks for specific roles when editing a block.</p>
<p>I needed a customized menu for a role (reg_user). This role had limited, basic access to do things. They needed to add news articles (a news content type I created) as well as edit them and edit pages. Rather them clicking <strong>Create conten</strong>t &#8211;&gt; <strong>News</strong>, I just wanted a link on the left navigation, as well as a few other customizable links.</p>
<p>I could have edit the navigation menu through <strong>Administrator</strong> &#8211;&gt; <strong>Site building</strong> &#8211;&gt; <strong>Menus</strong> &#8211;&gt; <strong>Navigation</strong>, etc etc. However, that would also change for the administrator as well as the role I wanted it to be customized for.</p>
<p>Well, long story short, after a while of research, it seemed the only option was to create another menu.</p>
<p>I did create another menu.</p>
<p>Then I ran into another problem. How to display the menu (Reg User Menu) to the reg_user and NOT the administrator, and the Navigation menu to the administrator and NOT the reg_user. It seemed easy enough to do via the specific roles, however, that doesn&#8217;t have the option for an administrator.</p>
<p>I also had another issue, the menu was to not be displayed on node/1 (the home page).</p>
<p><strong>FIX</strong><br />To accomplish all of this:</p>
<p>Reg User Menu &#8211; It&#8217;s a block when you create a new menu. I gave access to the reg_user. It doesn&#8217;t show up for administrators.</p>
<p>Navigation menu &#8211; No options were chosen for Show block for specific roles. Instead I did the following in the &#8216;Navigation&#8217; block:</p>
<p><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2010/12/specific_pages_code_drupal.jpg"><img class="aligncenter size-medium wp-image-122" title="Page Specific Visibility Settings In Navigation Block" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2010/12/specific_pages_code_drupal-300x189.jpg" alt="Page Specific Visibility Settings In Navigation Block" width="300" height="189" /></a>The code being:</p>
<blockquote><p>&lt;?php</p>
<p>$r = false;</p>
<p>if (user_access(&#8216;administer&#8217;)) { $r = true; }<br /> if (($_GET["q"] == &#8220;node/1&#8243;) || ($_GET["q"] == &#8220;node/1/edit&#8221;)) { $r = false; }</p>
<p>return $r;</p>
<p>?&gt;</p>
</blockquote>
<p>The if statement with user_access tests if it&#8217;s an administrator, if so, display the block. The $_GET["q"] if statement tests if they&#8217;re on the home page, if so, don&#8217;t display the block.</p>
<p>I really wish Drupal had easier ways to do this. Like I said before, it&#8217;d be a lot easier if they only had an Administrator option for the Show block for specific roles.</p>
<p>Currently, I&#8217;m dealing with a module issue that needs Clean URLs (which is disabled on our Windows system).</p>
<p>I hope someone can get help from this not well written post&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=121</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropdown/Flyout Menu Not Working With Drupal Sky Theme</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=118</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=118#comments</comments>
		<pubDate>Thu, 09 Dec 2010 20:07:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=118</guid>
		<description><![CDATA[ISSUEWhile working on a new Drupal site, the theme I chose, Sky, I noticed the menu wasn&#8217;t dropping or flying out in IE. After a few tests, it was actually found out, the menu was working but it was only working on the page where it was linked (or one if its children). At first [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />While working on a new Drupal site, the theme I chose, <a title="Drupal Theme - Sky" href="http://rds.yahoo.com/_ylt=A0oG7h86NQFNs3MBYwJXNyoA;_ylu=X3oDMTEzbWthcnExBHNlYwNzcgRwb3MDMQRjb2xvA2FjMgR2dGlkA1FJMDA3Xzcy/SIG=11higcjp5/EXP=1292011194/**http%3a//drupal.org/project/sky" target="_blank">Sky</a>, I noticed the menu wasn&#8217;t dropping or flying out in IE. After a few tests, it was actually found out, the menu was working but it was only working on the page where it was linked (or one if its children).</p>
<p>At first I thought this was an IE issue. It wouldn&#8217;t work in IE8, so I only imagined it wouldn&#8217;t work in IE6 and IE7.</p>
<p>After a few searches, I found nothing. However, since I have so many windows open, I tested it again but it turns out I was in FireFox and it wasn&#8217;t working&#8230;</p>
<p>Dah, long story short, the menu wasn&#8217;t working in any browser except when it was on its proper page or one of its child pages.</p>
<p><strong>FIX</strong><br />Really simple and stupid and most people wouldn&#8217;t even think of it&#8230; at least us non Drupal experts.</p>
<p>By going to <strong>Administrator</strong> then <strong>Site Building</strong> then <strong>Menus</strong> then <strong>Primary Links</strong>, you see a list of all your links and their children. Click on the checkbox under the <strong>Expanded</strong> column of your drop down. That makes sure it can be expanded or is expandable in other pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=118</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FireFox Print Bug With MOSS Site</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=104</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=104#comments</comments>
		<pubDate>Tue, 19 Oct 2010 14:37:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[MS SharePoint]]></category>
		<category><![CDATA[SPECIAL COMMENT]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=104</guid>
		<description><![CDATA[ISSUEI&#8217;ve been assigned the horrifying task of fixing various bugs in MOSS/SP sites at my work. One of the bugs is the inability for FireFox to print documents that span more than one page. I&#8217;ve fixed the issue on another MOSS site but when I went to fix it on another, the same hack didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />I&#8217;ve been assigned the horrifying task of fixing various bugs in MOSS/SP sites at my work. One of the bugs is the inability for FireFox to print documents that span more than one page.</p>
<p>I&#8217;ve fixed the issue on another MOSS site but when I went to fix it on another, the same hack didn&#8217;t work. I did the same things as I did before. I basically started over on the CSS print style sheet and display: none &#8216;d everything that shouldn&#8217;t be displayed. I also gave everything (*) the values of overflow: visible !important and position: absolute and float: none . None of that worked.</p>
<p>Here&#8217;s the rough HTML code:</p>
<pre>&lt;div id="ncs"&gt;
 &lt;div class="ncs_content"&gt;
  &lt;div class="ncs_stage"&gt;
   &lt;div class="ncs_stage_top"&gt;
    &lt;div class="ncs_stage_content"&gt;content...&lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="ncs_footer"&gt;turned off content&lt;/div&gt;
 &lt;div class="ncs_footer_printed_date"&gt;print date that needs to be displayed&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>My CSS before:</p>
<pre>#ncs { border: none; width: 100%; height: 100%; float: none; background: none; }

.ncs_content { background: none; border: none; float: none; }

/* this fixes the FF bug */
.ncs_stage_content {
    float: none;
    overflow: visible !important;
    position: absolute;
    height: auto;
    width: 90%;
    font-size: 14px;
    padding: 20px 0px;
    margin: 10px 0px;
    font-size: 120%;
    clear: both;
    display: block;
}

.ncs_footer { clear: both; height: 100%; position: relative; }

.ncs_footer_printed_date {
    float: left;
    display: block;
    width: 950px;
    position: relative;
    bottom: 0;
    left: 0;
    clear: both;
    height: 120%;
    vertical-align: bottom;
}
</pre>
<p>The problem with this was it was displaying the ncs_footer_printed_date at the top. I couldn&#8217;t for the life of me figure out how to get it to be at the bottom of the content.</p>
<p>I even went so far as to post it on <a title="Stackoverflow - Footer Not Aligning At Bottom Of Content In Print Preview" href="http://stackoverflow.com/questions/3944418/footer-not-aligning-at-bottom-of-content-in-print-preview/3969258#3969258" target="_blank">stackoverflow.com</a> . No one could figure it out.</p>
<p>I struggled DAYS with it. This was one of the hardest things I&#8217;ve ever had to do. I tried explaining to my boss that I didn&#8217;t think it was possible. He said to keep playing with it. So I did but how I get I play with it off and on.</p>
<p><strong>FIX</strong><br /> I had to modify my CSS for everything to be encapsulated in <strong>#ncs</strong>. Then I had to play around with different styles so that the bottom would be displayed the same as the content. Here&#8217;s my finished CSS:</p>
<pre>#ncs {
    float: none;
    overflow: visible !important;
    position: absolute;
    height: auto;
    width: 99%;
    font-size: 12px;
    padding: 20px 0px;
    margin: 10px 0px;
    clear: both;
}

.ncs_content { background: none; border: none; float: none; }

.ncs_stage_content, .ncs_stage { margin: 0; padding: 0; float: none; clear: both; font-size: 12px; }

.ncs_footer { display: none; }

.ncs_footer_printed_date { margin: 0px; padding: 0px; width: 750px; font-size: 12px; display: block; }
</pre>
<p><strong>SPECIAL COMMENT</strong><br /> To my lovely FireFox: Screw you. You&#8217;ve known about <a title="Mozilla - Only One Page Printed Bug" href="https://bugzilla.mozilla.org/show_bug.cgi?id=104040" target="_blank">this bug</a> for EIGHT YEARS and you still haven&#8217;t fixed it. It&#8217;s a bug with YOUR SOFTWARE. Every other browser (even the more standards compliant ones) can print pages without issues. I find it incredibly ridiculous that you haven&#8217;t addressed this issue.</p>
<p>I understand about standards compliance. Microsoft doesn&#8217;t make any of their web software (let alone any website they create) W3C XHTML 1.0 compliant like it&#8217;s supposed to be. They just don&#8217;t care.</p>
<p>But you, you&#8217;re supposed to be better than that. You&#8217;re supposed to be the best. You&#8217;re the top browser. And to have known about this bug for eight years and not get around to fixing it is just shameful.</p>
<p>It&#8217;s like saying everyone else&#8217;s kid in the marching band is off step except mine. They&#8217;re all stupid, apparently.</p>
<p>But it&#8217;s no reason to not fix a serious problem. A lot of websites can&#8217;t print.</p>
<p>You&#8217;re wasting people&#8217;s time and you&#8217;re making it hard on us web developers. I understand you want to go with standards but at the cost of sanity&#8230; especially when most of us can&#8217;t edit code that we didn&#8217;t make (SHAREPOINT).</p>
<p>I expect better from you, FireFox. I was thinking about switching to another browser because of this idiocracy. But, quite frankly, I love FireBug too much and it&#8217;s only available in FireFox.</p>
<p>Please fix this printing issue in your next release. I hear good things from FF 4.0. Hopefully one of them will be an end to this madness. Good night and good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=104</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extra Padding At The Bottom &amp; Div Height Too Big In IE6</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=84</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=84#comments</comments>
		<pubDate>Fri, 20 Aug 2010 19:30:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[MS IE]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=84</guid>
		<description><![CDATA[This blog post is actually for two problems with IE6 I’ve come across recently. I&#8217;m sure I discovered and solved these before, but I keep having to find the answer again, so I thought I&#8217;d blog about it to remind myself and maybe help someone else out, too. This blog entry is composed of two [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><em>This blog post is actually for two problems with IE6 I’ve come across recently.</em></span></p>
<p>I&#8217;m sure I discovered and solved these before, but I keep having to find the answer again, so I thought I&#8217;d blog about it to remind myself and maybe help someone else out, too.</p>
<p>This blog entry is composed of two IE6 problems that I&#8217;ve found the answers to. Since we as developers still have to support IE6 for that few <a title="W3Schools - Browser Statistics" href="http://w3schools.com/browsers/browsers_stats.asp" target="_blank">7.2% that refuse to upgrade</a>, there&#8217;s a lot of fixes (and/or hacks) out there to get the job done. I prefer the fixes. As a rule, I don&#8217;t use hacks, I just play around with it till it works.</p>
<p><strong>ISSUE #1</strong><br />In IE6, sometimes it puts extra padding or margin at the bottom of images and div tags like so:</p>
<p><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2010/08/extra_padding_ie6.jpg"><img class="aligncenter size-medium wp-image-85" title="Extra Padding At The Bottom In IE6" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2010/08/extra_padding_ie6-300x138.jpg" alt="Extra Padding At The Bottom In IE6" width="360" height="166" /></a></p>
<p>Notice the extra space between the banner and the menu? Yeah, that&#8217;s only in IE6.</p>
<p>As I&#8217;ve said, I&#8217;ve found the solution to this before, but to avoid needlessly googling again, here it is.</p>
<p>My CSS for the entire banner before:</p>
<blockquote><p>#main_banner {<br /> width: 100%;<br /> margin: 0px;<br /> padding:	0px;<br /> height: 74px;<br /> max-height:			74px;<br /> vertical-align: 			middle;<br /> border-top: 1px solid #FFFFFF;<br /> border-bottom: 1px solid #FFFFFF;<br /> }</p>
</blockquote>
<p><strong>FIX #1<br /></strong>Since IE6 has an overflow issue, the correct fix for it is to hide the overflow like so:</p>
<blockquote><p>overflow:				hidden;</p>
</blockquote>
<p>This solution also solves the other problem I had when I wanted the divs to move and not drop down when the window gets smaller.</p>
<p><strong>ISSUE #2<br /></strong>I needed an orange bar under a header image to kind of separate the page out. Kind of like a horizontal rule. I probably could have used a hr, but decided to use a div tag. It was to span the entire length and be 8 pixels tall.</p>
<blockquote><p>&lt;div id=&#8221;orange_separator&#8221;&gt;&lt;/div&gt;</p>
</blockquote>
<p>My CSS was the following:</p>
<blockquote><p>#orange_separator {<br /> height: 8px;<br /> background-color:	#F77B25;<br /> }</p>
</blockquote>
<p><strong>FIX #2<br /></strong>This code works in ALL browsers EXCEPT IE6.</p>
<p>IE6, I guess, expects there to be text inside the div tag, but there isn&#8217;t. It uses the font-sizes from other stuff, so we need to specify to it that there is no font or text.</p>
<p>I added the following to my <strong>#orange_separator</strong> CSS:</p>
<blockquote><p>line-height:				0px;<br /> font-size: 0px;</p>
</blockquote>
<p>IE now thinks that the text inside has a font-size of 0 and since there is no text, the height of the div is 8 pixels.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Insert Images Into Links In Drupal</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=81</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=81#comments</comments>
		<pubDate>Wed, 04 Aug 2010 14:40:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SPECIAL COMMENT]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=81</guid>
		<description><![CDATA[ISSUEI only struggled with this for about an hour. I&#8217;m not sure why Drupal hasn&#8217;t thought of this before, but it would be nice to have images as links once in a while. I needed one for my menu&#8230; a home link that was an image of a little house (how cute). FIXI read on [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />I only struggled with this for about an hour. I&#8217;m not sure why Drupal hasn&#8217;t thought of this before, but it would be nice to have images as links once in a while. I needed one for my menu&#8230; a home link that was an image of a little house (how cute).</p>
<p><strong>FIX</strong><br />I read on a blog to edit the <strong>theme_menu_item_link</strong> function located in <strong>includes/menu.inc</strong> . I then added my &lt;img tag to the <strong>Description</strong>. Well, that didn&#8217;t work. I investigated it further and looked at the code and instead put it in the <strong>Menu Link Title</strong>. That didn&#8217;t work either. I even tried the PHP function <strong>html_entity_decode</strong>, but that didn&#8217;t work either. It was still escaping the characters.</p>
<p>Anyway, after googling and reading up on how  to do it, I tried to edit the <strong>template.php</strong> file with no luck. I read  some other blogs and tried to edit some other files but it still kept  escaping the code. I didn&#8217;t want to mess with the other files Drupal had  put there.</p>
<p>I finally formed my own solution. I decided to edit the files Dupal put in. I looked for the <strong>l()</strong> function which is the function that actually forms links.</p>
<p>I added the following to the function <strong>l()</strong> in the file <strong>includes/common.inc</strong> on line 1598, right after the default options are declared in the <strong>$options</strong> array:</p>
<blockquote><p>if (strpos($text, &#8216;&lt;img&#8217;) === 0) {<br /> $options['html'] = TRUE;<br /> }</p>
</blockquote>
<p>Yes, I know it&#8217;s unsafe but that&#8217;s the only way I could get it to NOT escape. I can now add HTML img script to the <strong>Menu Link Title</strong> and it display an image.</p>
<p><strong>SPECIAL COMMENT</strong><br />I&#8217;ll make this brief. I don&#8217;t know why Drupal didn&#8217;t think about images in link lists before. You think that would be obvious. The more and more I learn about Drupal, the more and more I realize how LESS flexible it is than I thought. I will say at least they have a community that can help, which is something that Microsoft seems to lack.</p>
<p>Come on, Drupal, think common sense.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=81</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling PHP Input Into Drupal</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=78</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=78#comments</comments>
		<pubDate>Tue, 03 Aug 2010 17:57:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=78</guid>
		<description><![CDATA[ISSUE After a while of wondering how the hell I&#8217;m supposed to add PHP into Drupal, and many times trying it in blog entries, posts, and blocks, nothing came out of it. It would always display the PHP code and not evaluate it. I didn&#8217;t get my PHP cert for nothing, ya know? FIXI actually [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br /> After a while of wondering how the hell I&#8217;m supposed to add PHP into Drupal, and many times trying it in blog entries, posts, and blocks, nothing came out of it. It would always display the PHP code and not evaluate it. I didn&#8217;t get my PHP cert for nothing, ya know?</p>
<p><strong>FIX</strong><br />I actually found this on a forum of someone else having the same problems. They didn&#8217;t exactly show you the correct path of where you change it but I remember the screen before and I was able to get back to it.</p>
<p>If you go to<strong> Administrator</strong> then <strong>Site Building</strong> then <strong>Modules</strong>, it is the PHP filter. You need to check it for PHP code to be in your Input formats.</p>
<p>Yay. Now I&#8217;m on my way!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=78</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tackling Prepopulated Email Problem &amp; Annoying Beep In SharePoint</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=75</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=75#comments</comments>
		<pubDate>Tue, 30 Mar 2010 19:56:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS IE]]></category>
		<category><![CDATA[MS SharePoint]]></category>
		<category><![CDATA[SPECIAL COMMENT]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=75</guid>
		<description><![CDATA[This blog post is actually for two problems with SharePoint I&#8217;ve come across. ISSUE #1It was requested of me to figure out how to prepopulate the email address in SharePoint login prompts. When you login to SharePoint, if you want to do anything like open a document, you are prompted for your AD (Active Directory) [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><em>This blog post is actually for two problems with SharePoint I&#8217;ve come across.</em></span></p>
<p><strong>ISSUE #1</strong><br />It was requested of me to figure out how to prepopulate the email address in SharePoint login prompts. When you login to SharePoint, if you want to do anything like open a document, you are prompted for your AD (Active Directory) credentials again and again. Needless to say, this is unnecessary and annoying.</p>
<p><strong>FIX #1</strong><br />After many hours of googling &#8220;prepopulate email address in SharePoint&#8221;, I actually found the fix in the SharePoint book. It&#8217;s called Enabling Automatic Login. The steps are as followed:</p>
<p>On the CLIENT&#8217;S computer (aka not the server&#8230; aka everyone who uses SharePoint&#8230; their actual computer) in IE (make sure it&#8217;s Internet Explorer since SharePoint really only works with IE), go to:</p>
<p><strong>Tools</strong> &#8211;&gt; <strong>Internet Options</strong> &#8211;&gt; click on  the <strong>Security</strong> tab &#8211;&gt; select <strong>Local Internet</strong> &#8211;&gt; then click<strong> Sites </strong>&#8211;&gt; <strong>Advanced</strong></p>
<p>Under<strong> Advanced</strong>, the URL of this website should be in the  first form field. Click <strong>Add</strong>. Then <strong>Close</strong>, then  <strong>Ok</strong> and <strong>Ok</strong> again.</p>
<p>That should fix the prompting annoyance.</p>
<p><strong>ISSUE #2</strong><br />When in SharePoint, you click anything (and I mean ANYTHING), there is an annoying beep. It&#8217;s like on every link, on every page, everywhere. I don&#8217;t have speakers but I have headphones hooked into my computer. Needless to say, I heard the beep with my headphones off, it was that loud. It&#8217;s annoying.</p>
<p><strong>FIX #2</strong><br />This fix is for the client&#8217;s computer as well&#8230; not the server&#8230; not an actual setting in SharePoint (at least none that I could find). So&#8230; on the clients computer go to:</p>
<p><strong>Control Panel </strong>&#8211;&gt; <strong>Sounds and Audio Devices </strong>&#8211;&gt; click on the <strong>Sounds</strong> tab &#8211;&gt; under <strong>Program Events</strong> scroll down to <strong>Windows  Explorer</strong> <strong>&#8211;&gt;</strong> <strong>Information Bar</strong> &#8211;&gt; under  <strong>Sounds</strong> select <strong>(None)</strong>.</p>
<p>It was  driving me crazy!</p>
<p><strong>SPECIAL COMMENT</strong><br />If the simple fact that you MUST use IE with SharePoint wasn&#8217;t enough, there aren&#8217;t settings in Central Administration nor on the server that solve minor annoyances like this. Microsoft should have thought about these things before they released this hunk of garbage that is SharePoint. I sincerely hope others realize that Microsoft is just a thug corporation who thinks it owns the world.</p>
<p>They don&#8217;t comply with standards, they don&#8217;t debug, and they don&#8217;t test their products.  We are do their tests for them!</p>
<p>About a year ago I ran into a Microsoft error&#8230; Emails were not sending which had both .txt and .vcs files attached to them. (In case you don&#8217;t know .vcs files are for Outlook calendars.) No errors, just the emails weren&#8217;t sending. What was also weird is that some emails actually WERE getting through&#8230; and they all did before. It worked before but all of a sudden stopped working. No server changes, no MS Exchange changes.</p>
<p>I ended up calling Microsoft. They sent me a test program which emailed me a .txt and .vcs file. It wouldn&#8217;t work. It turns out the problem was on their end.</p>
<p>In the end, the dude wouldn&#8217;t stop bugging me on getting me to help him fix it. I was like &#8220;isn&#8217;t it your problem now&#8221;? They did refund me the ticket since it was their fault.</p>
<p>I think it&#8217;s a little ridiculous that these problems are easily fixed on the CLIENT&#8217;S side. There should be settings in Central Admin or on the actual site that take care of simple things like this so I don&#8217;t need to send out an email or post on how to fix it. The fact that every computer you use that has SharePoint, you must configure IE so those little prompts and sounds don&#8217;t drive you up the wall is unbelievable.</p>
<p>We don&#8217;t want to be prompted on every link or hear that annoying &#8220;blimp&#8221; every click. Use some common sense, Microsoft. Good night and good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=75</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inserting Data Into A Form Input Array</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=72</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=72#comments</comments>
		<pubDate>Fri, 23 Oct 2009 20:08:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=72</guid>
		<description><![CDATA[ISSUE I&#8217;ve also struggled with this one for a while, off and on. I have a form that has several textarea&#8217;s. Their data is put into an input array. It is looped using a for loop in PHP. Ex: // for loop in PHP here &#60;label&#62;Data:&#60;/label&#62;&#60;br /&#62; &#60;textarea name="data[]" id="data[]" rows="5" cols="40"&#62;&#60;?= $data[$x]; ?&#62;&#60;/textarea&#62; &#60;a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />
I&#8217;ve also struggled with this one for a while, off and on. I have a form that has several textarea&#8217;s. Their data is put into an input array. It is looped using a for loop in PHP. Ex:</p>
<pre>// for loop in PHP here

&lt;label&gt;Data:&lt;/label&gt;&lt;br /&gt;
&lt;textarea name="data[]" id="data[]" rows="5" cols="40"&gt;&lt;?= $data[$x]; ?&gt;&lt;/textarea&gt; &lt;a href="javascript:popUpWindow('popupsearch.php?frm=input_form&amp;amp;fld=data[]&amp;amp;select_multi=yes', 700, 300);"&gt;Lookup Data&lt;/a&gt;

// end for loop</pre>
<p>This is generated using PHP (a for loop). Basically, the user decides how much data they want and they type it in, or they can look up data. When they click Lookup Data, a window pops up with a search feature for them to search for data. They can choose multiple items to insert into the form. When they do, it closes the popup and inserts the data into the form.</p>
<p>Sounds simple, right?</p>
<p><strong>WORK AROUND</strong><br />
The problem was with the array. My guess is XHTML doesn&#8217;t use arrays of id&#8217;s (yet). The syntax above is what I tried (and failed) to put before. The work around is:</p>
<pre>&lt;label&gt;Data:&lt;/label&gt;&lt;br /&gt;
&lt;textarea name="data[]" id="data_&lt;?= $x; ?&gt;" rows="5" cols="40"&gt;&lt;?= $data[$x]; ?&gt;&lt;/textarea&gt; &lt;a href="javascript:popUpWindow('popupsearch.php?frm=input_form&amp;amp;fld=data_&lt;?= $x; ?&gt;&amp;amp;select_multi=yes', 700, 300);"&gt;Lookup Data&lt;/a&gt;</pre>
<p>The id is no longer in an array. The name is what is actually used later in PHP to get the value(s), so there&#8217;s no rewrite of code on the backend side.</p>
<p>I read an article (or I heard) that in HTML 5 when it becomes a standard, they will be combining the id and name elements of inputs. That&#8217;s the only problem I can forsee with this code not being able to be used later. I&#8217;d have to modify this code and rewrite the backend to recognize each textarea as its own entity instead of an array.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=72</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying Quotes In Alerts Using JavaScript And PHP</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=65</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=65#comments</comments>
		<pubDate>Thu, 22 Oct 2009 19:06:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=65</guid>
		<description><![CDATA[ISSUE I&#8217;ve been struggling with this problem off and on now for the past like six months. The issue is properly displaying single and double quotes in JavaScript on a onclick action. PHP is being used to get the data for the string. The data without single or double quotes displayed fine in the alert [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />
I&#8217;ve been struggling with this problem off and on now for the past like six months. The issue is properly displaying single and double quotes in JavaScript on a onclick action. PHP is being used to get the data for the string.</p>
<p>The data without single or double quotes displayed fine in the alert box, but the other data didn&#8217;t.</p>
<p>In a nut shell, I needed:</p>
<pre>&lt;a onclick="javascript: alert('$data');"&gt;?&lt;/a&gt;</pre>
<p>The trick was escaping <strong>$data</strong> to display the proper PHP first, then JavaScript.</p>
<p>The <strong>$data</strong> string I kept testing was:</p>
<p><em>Has the ability to quote the Godfather series on command. Must be able to complete a quote or a scene by the slightest dialogue.</em></p>
<p><em>&#8220;Go to the mattresses!&#8221;</em></p>
<p><strong>FIX<br />
</strong>As I said, I tried just about everything trying to get <strong>$data</strong> to display single and double quotes in the alert box. I started simple by replacing the <strong>&#8216;</strong> with <strong>/&#8217; </strong>and <strong>&#8220;</strong> with <strong>/&#8221;</strong>, to no avail. I also tried using the <strong>htmlspecialchars</strong> function, but that didn&#8217;t work either.</p>
<p>Furthermore, I tried to replace the double quotes with single quotes and escape the string. It still didn&#8217;t work.</p>
<p>When I finally got close to solving the problem, I realized it wasn&#8217;t necessarily escaping the quotes, it was also escaping the line breaks. Since PHP and JavaScript have the same line break escape (<strong>\n</strong>), it was a little tricky.</p>
<p>I finally got a script off the internet to escape the string and put the special characters into their HTML entities. It didn&#8217;t work, but I built on that same idea.</p>
<p>My script is now:</p>
<pre>$data = preg_replace("/\r?\n/", "\\n", htmlspecialchars(str_replace("'", "\'", $data)));

echo "&lt;a onclick=\"javascript:alert('$data');\"&gt;?&lt;/a&gt;\n";</pre>
<p>Works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=65</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Form Fields Jumbled Up</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=60</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=60#comments</comments>
		<pubDate>Wed, 29 Jul 2009 14:53:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=60</guid>
		<description><![CDATA[ISSUE Occasionally when I display data back to the user, the display becomes all jumbled. I want to display data back to the user the same kind of way they entered it in the form using fieldsets and labels. However, sometimes I get this: Here&#8217;s my xHTML code: &#60;fieldset&#62; &#60;legend class="change_form"&#62;Personal Information&#60;/legend&#62; &#60;label&#62;Name:&#60;/label&#62; &#60;label class="left"&#62;&#60;?= [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />
Occasionally when I display data back to the user, the display becomes all jumbled. I want to display data back to the user the same kind of way they entered it in the form using fieldsets and labels. However, sometimes I get this:</p>
<p style="text-align: center;"><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2009/07/form_fields_jumbled.png"><img class="size-medium wp-image-61 aligncenter" title="Form Fields Jumbled Screen Shot" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2009/07/form_fields_jumbled-300x215.png" alt="Form Fields Jumbled Screen Shot" width="300" height="215" /></a></p>
<p style="text-align: left;">Here&#8217;s my xHTML code:</p>
<pre>     &lt;fieldset&gt;
      &lt;legend class="change_form"&gt;Personal Information&lt;/legend&gt;

      &lt;label&gt;Name:&lt;/label&gt;
      &lt;label class="left"&gt;&lt;?= $emp_info["emp_title"] . " " . $emp_info["emp_fname"] . " " . $emp_info["emp_mname"] . " " . $emp_info["emp_lname"]; ?&gt;&lt;/label&gt;&lt;br /&gt;

      &lt;label&gt;SSN:&lt;/label&gt;
      &lt;label class="left"&gt;XXX-XX-&lt;?= $emp_info["emp_ssn"]; ?&gt;&lt;/label&gt;&lt;br /&gt;

      &lt;label&gt;Employee ID:&lt;/label&gt;
      &lt;label class="left"&gt;&lt;?= $emp_id; ?&gt;&lt;/label&gt;&lt;br /&gt;

      &lt;label&gt;Relationship Status:&lt;/label&gt;

      &lt;label class="left"&gt;&lt;?= $emp_info["emp_relationship_status"]; ?&gt;&lt;/label&gt;
     &lt;/fieldset&gt;</pre>
<p>My CSS for the fieldsets are:</p>
<pre>fieldset {
	width:				100%;
	border:				solid 0 #FFFFFF; /* Opera doesn't get border:none or border:0 on fieldsets */
}

fieldset label {
	color:				#FFFFFF;
	text-align:			right;
	font-weight:			bold;
	display:			block;
	width:				250px;
	float:				left;
	padding:			2px;
	margin:				0;
	margin-top:			0.4em;
}

fieldset label.left {
	font-weight:			normal;
	text-align:			left;
	float:				left;
	width:				380px;
	margin-left:			0.3em;
}</pre>
<p><strong>FIX</strong><br />
I fixed this issue by increasing the <strong>width</strong> in the <strong>fieldset label.left</strong> class:</p>
<pre>
	width:				450px;
</pre>
<p>A shot in the dark but it worked and it does make sense. Now the lines properly break when they&#8217;re supposed to and the form looks better than if I had to add a bunch of line breaks (my previous solution to this problem).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=60</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text Color Same As Background In IE</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=42</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=42#comments</comments>
		<pubDate>Fri, 17 Jul 2009 14:42:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[MS IE]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=42</guid>
		<description><![CDATA[ISSUE While working on my company&#8217;s Intranet, I ran into a strange bug in IE. It seems that with DIVS sometimes, the text color is the same as the background. However, when I mouse over it, it changes to the correct color. It works fine in Firefox and all the other browsers, just not IE. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />
While working on my company&#8217;s Intranet, I ran into a strange bug in IE. It seems that with DIVS sometimes, the text color is the same as the background. However, when I mouse over it, it changes to the correct color.</p>
<p style="text-align: center;"><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2009/07/prob_ss2.png"><img class="size-medium wp-image-55 aligncenter" title="Text Not Showing Up Screen Shot" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2009/07/prob_ss2-300x150.png" alt="Text Not Showing Up Screen Shot" width="300" height="150" /></a></p>
<p>It works fine in Firefox and all the other browsers, just not IE. And the other strange part is, it doesn&#8217;t do it every box. I have multiple boxes that it doesn&#8217;t do it in. Nothing changed with the syntax or anything.</p>
<p>My stylesheet is as follows:</p>
<pre>.even {
	background-color:		#ADFF2F;
	color:				#000000;
	border:				1px solid #000000;
	padding:			4px;
}

.odd {
	background-color:		#5A8A03;
	color:				#FFFFFF;
	border:				1px solid #000000;
	padding:			4px;
}</pre>
<p><strong>FIX</strong><br />
It didn&#8217;t take much digging to find a post where someone has come across this same issue with IE. Adding the following to the .even and .odd classes fix the problem:</p>
<pre>	zoom:				1;</pre>
<p>The text now shows up with the correct color. However, the forum I was on did say that the zoom isn&#8217;t proper CSS syntax. I always make sure my stylesheet and code are compliant. I think it&#8217;s a sacrifice I have to make in order for it to function with the worst browser ever.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=42</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Favicons</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=30</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=30#comments</comments>
		<pubDate>Wed, 03 Jun 2009 17:32:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Safari]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[MS IE]]></category>
		<category><![CDATA[NIFTY TRICKS]]></category>
		<category><![CDATA[Opera]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=30</guid>
		<description><![CDATA[ISSUE For a while now I&#8217;ve wondered how to get a web navigation/web icon/toolbar icon to display on my website. Most major sites now have them: FIX After googling things like &#8220;web navigation icon&#8221;, &#8220;web toolbar icon&#8221;, &#8220;browser website icon&#8221;, I finally came across what it&#8217;s really called, a &#8220;Favicon&#8221;. Read all about them at [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />
For a while now I&#8217;ve wondered how to get a web navigation/web icon/toolbar icon to display on my website. Most major sites now have them:</p>
<p style="text-align: center;"><a href="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2009/06/favicon_ss.jpg"><img class="aligncenter size-medium wp-image-31" title="Favicon Screen Shot" src="http://www.longlivethemonkey.com/syntaxnotes/wp-content/uploads/2009/06/favicon_ss-300x226.jpg" alt="Favicon Screen Shot" width="300" height="226" /></a></p>
<p><strong>FIX</strong><br />
After googling things like &#8220;web navigation icon&#8221;, &#8220;web toolbar icon&#8221;, &#8220;browser website icon&#8221;, I finally came across what it&#8217;s really called, a &#8220;Favicon&#8221;. Read all about them at <a title="Wikipedia - Favicon" href="http://en.wikipedia.org/wiki/Favicons" target="_blank">wikipedia</a>.</p>
<p>I created a small image (32&#215;32 px) using Flash. I then uploaded it to my websites (<a title="longlivethemonkey.com" href="http://www.longlivethemonkey.com" target="_blank">longlivethemonkey.com</a>, <a title="Quotes" href="http://www.longlivethemonkey.com/quotes" target="_blank">Quotes</a>, and <a title="Jeepers" href="http://www.longlivethemonkey.com/jeepers" target="_blank">Jeepers</a>) and added the following code in the htmlhead.inc (inside the &lt;head&gt;&lt;/head&gt; of your xHTML) file:</p>
<pre>&lt;<span class="start-tag">link</span><span class="attribute-name"> rel</span>=<span class="attribute-value">"icon" </span><span class="attribute-name">type</span>=<span class="attribute-value">"image/png" </span><span class="attribute-name">href</span>=<span class="attribute-value">"images/lltm_icon.png" </span><span class="error"><span class="attribute-name">/</span></span>&gt;</pre>
<p>So now I get a pretty little icon at the top. When you read about the Favicons in wiki, it states that since Microsoft&#8217;s IE isn&#8217;t standards complient, if you name your icon differently than what Microsoft expects it to be, it won&#8217;t show up in IE &gt;=7 (not sure about 8). The line of code above works in Firefox, Opera, and Safari. I guess Chrome hasn&#8217;t caught up with it yet.</p>
<p><strong>UPDATE 1</strong><br />
I figured out how to make it so IE gets it. The file needs to be a .ico file and it must go before your code for your other icon. The code is:</p>
<pre>&lt;link rel="shortcut icon" href="/images/lltm_icon.ico" type="image/vnd.microsoft.icon"&gt;</pre>
<p>You can convert your PNG to a ICO <a title="Free PNG To ICO Converter" href="http://www.convertico.com" target="_blank">here</a>. No software necessary.</p>
<p><strong>UPDATE 2</strong><br />
With WordPress it&#8217;s easy. In your <strong>Dashboard</strong> under <strong>Appearance</strong> go to <strong>Editor</strong>. Click on your <strong>Header</strong> file (should be header.php). Put the code as you would in a regular file, in the head. Works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=30</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Bug With Firefox</title>
		<link>http://www.longlivethemonkey.com/syntaxnotes/?p=26</link>
		<comments>http://www.longlivethemonkey.com/syntaxnotes/?p=26#comments</comments>
		<pubDate>Thu, 11 Dec 2008 17:07:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[MS IE]]></category>
		<category><![CDATA[MS SharePoint]]></category>
		<category><![CDATA[SPECIAL COMMENT]]></category>

		<guid isPermaLink="false">http://www.longlivethemonkey.com/syntaxnotes/?p=26</guid>
		<description><![CDATA[ISSUE I noticed this around the SharePoint site I&#8217;m managing with the Central Administration. When going to select something from a drop down, it doesn&#8217;t insert it into the form. WORK AROUND Using IE, oddly enough, solves this problem. The selected item is inserted properly into the form. SPECIAL COMMENT I&#8217;ll begin by saying I [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ISSUE</strong><br />
I noticed this around the SharePoint site I&#8217;m managing with the Central Administration. When going to select something from a drop down, it doesn&#8217;t insert it into the form.</p>
<p><strong>WORK AROUND</strong><br />
Using IE, oddly enough, solves this problem. The selected item is inserted properly into the form.</p>
<p><strong>SPECIAL COMMENT</strong><br />
I&#8217;ll begin by saying I am a devoted Mozilla Firefox user. I use IE rarely when Firefox has issues or when TESTING a web application. As a web designer/programmer, I need to make sure that my product can function with any browser. I take the extra step in assuring that my product is fully operational, no matter what browser a user is using. I test my application with Firefox, IE, Safari, and Opera to make sure it works. If it doesn&#8217;t, I fix it so that it does work with that browser.</p>
<p>Microsoft programmers, you should be ashamed. To release a tool as powerful and as popular as SharePoint and have it NOT be compatible with one of the most popular browsers as Firefox. How dare you not test your product thoroughly, using multiple browsers. Did you assume that only IE users will use your product? You are wrong, sirs.</p>
<p>If you were to go ahead and make the outrageous requirement to ONLY use IE with SharePoint, why not display an error or a warning message when someone goes to a SharePoint site with a browser other than IE? Seriously. Here I was trying to figure out why it wouldn&#8217;t insert my selection when all the while it was because of the browser I was using. Rediculous.</p>
<p>And another thing, why even have this visual show for a simple drop down menu anyway? What a waste of time programming something like that. Why should it open up a completely different window just to insert one little thing? Just make it a simple drop down. Who are you trying to impress? Are we all supposed to be like &#8220;ouu, look at that, visually pleasing&#8221;. I don&#8217;t think so and I am NOT amused.</p>
<p>You wasted my time and my energy trying to research this problem, emailing everyone I could think of who uses SharePoint. Even drafting an email to my boss explaining that I couldn&#8217;t do a task because there&#8217;s a bug in SharePoint (yeah, that sounds good, right?).</p>
<p>Come on, Microsoft, get with the picture. Good night and good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longlivethemonkey.com/syntaxnotes/?feed=rss2&#038;p=26</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

