<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
 xmlns:admin="http://webns.net/mvcb/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel><title>Tanny O'Haley's Weblog | Comments</title><description>Thoughts on life, family, programming.</description><link>http://tanny.ica.com/ica/tko/tkoblog.nsf/</link><language>en-us</language><lastBuildDate>Fri, 16 May 2008 03:33:14 AM -0700</lastBuildDate>
<item>
<title>Date Input and Calendar Popup Instructions</title>
<pubDate>Fri, 16 May 2008 03:33:14 AM -0700</pubDate>
<dc:creator>Colm Fitzgerald</dc:creator>
<dc:subject>Date Input and Calendar Popup Instructions</dc:subject>
<description><![CDATA[Ok very very sorry, events.js was not included. <br /><br />Everything works ok. <br /><br />THANK YOU VERY MUCH FOR SHARING YOUR WORK WITH US.]]></description>
<content:encoded><![CDATA[Ok very very sorry, events.js was not included. <br /><br />Everything works ok. <br /><br />THANK YOU VERY MUCH FOR SHARING YOUR WORK WITH US.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup-instructions?opendocument&amp;comments#16052008033314ICAEDT.htm</link>
</item>
<item>
<title>Date Input and Calendar Popup Instructions</title>
<pubDate>Fri, 16 May 2008 01:20:40 AM -0700</pubDate>
<dc:creator>Colm Fitzgerald</dc:creator>
<dc:subject>Date Input and Calendar Popup Instructions</dc:subject>
<description><![CDATA[PS it works great in other major browsers that I have tried.]]></description>
<content:encoded><![CDATA[PS it works great in other major browsers that I have tried.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup-instructions?opendocument&amp;comments#16052008012040ICABSY.htm</link>
</item>
<item>
<title>Date Input and Calendar Popup Instructions</title>
<pubDate>Fri, 16 May 2008 12:49:26 AM -0700</pubDate>
<dc:creator>Colm Fitzgerald</dc:creator>
<dc:subject>Date Input and Calendar Popup Instructions</dc:subject>
<description><![CDATA[Hi great app. Thanks for sharing it. <br /><br />I have started to use it myself. Although I'm having a little problem with it in IE7. <br /><br />It works ok as an example off line but when integrated into my site it doesn't. When I click on a date in the calendar popup, the calendar does not auto disappear. Then if I click out side of the calendar to make it disappear the date remains in the text box but does not update to the format I require for my mysql data base. <br /><br />Any body have idea's what might cause this? <br /><br />I would share the web address but its part of a private stock taking system with full access to my database. But if I have to I'm sure I could arrange a demo of my problem.]]></description>
<content:encoded><![CDATA[Hi great app. Thanks for sharing it. <br /><br />I have started to use it myself. Although I'm having a little problem with it in IE7. <br /><br />It works ok as an example off line but when integrated into my site it doesn't. When I click on a date in the calendar popup, the calendar does not auto disappear. Then if I click out side of the calendar to make it disappear the date remains in the text box but does not update to the format I require for my mysql data base. <br /><br />Any body have idea's what might cause this? <br /><br />I would share the web address but its part of a private stock taking system with full access to my database. But if I have to I'm sure I could arrange a demo of my problem.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup-instructions?opendocument&amp;comments#16052008004926ICAB7F.htm</link>
</item>
<item>
<title>Select tag overlap in IE, Part II</title>
<pubDate>Thu, 1 May 2008 01:50:39 AM -0700</pubDate>
<dc:creator>Manish Sharma</dc:creator>
<dc:subject>Select tag overlap in IE, Part II</dc:subject>
<description><![CDATA[HI Tanny<br /><br />Its v. much fruitful that i can use your code with my menu. Suggestion I need from you shall i need to copy iehover-fix.js and * html ul.nav iframe {<br /><br />position: absolute;<br /><br />/* account for the border */<br /><br />left: -0.25em;<br /><br />top: -0.25em;<br /><br />z-index: 0;<br /><br />filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);<br /><br />} <br /><br />This code]]></description>
<content:encoded><![CDATA[HI Tanny<br /><br />Its v. much fruitful that i can use your code with my menu. Suggestion I need from you shall i need to copy iehover-fix.js and * html ul.nav iframe {<br /><br />position: absolute;<br /><br />/* account for the border */<br /><br />left: -0.25em;<br /><br />top: -0.25em;<br /><br />z-index: 0;<br /><br />filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);<br /><br />} <br /><br />This code]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/select-tag-overlap-in-ie-part-ii?opendocument&amp;comments#05012008015039AMICACDS.htm</link>
</item>
<item>
<title>Select tag overlap in IE, Part II</title>
<pubDate>Wed, 30 Apr 2008 06:24:13 PM -0700</pubDate>
<dc:creator>Tanny O'Haley</dc:creator>
<dc:subject>Select tag overlap in IE, Part II</dc:subject>
<description><![CDATA[Hi Manish,<br /><br />Yes you can use this code with your drop down menu. I'm not sure what you want as a suggestion, use the Suckerfish drop down menu with my code. It also works for fly out menus too.]]></description>
<content:encoded><![CDATA[Hi Manish,<br /><br />Yes you can use this code with your drop down menu. I'm not sure what you want as a suggestion, use the Suckerfish drop down menu with my code. It also works for fly out menus too.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/select-tag-overlap-in-ie-part-ii?opendocument&amp;comments#04302008062413PMICA3NP.htm</link>
</item>
<item>
<title>Select tag overlap in IE, Part II</title>
<pubDate>Wed, 30 Apr 2008 11:57:18 AM -0700</pubDate>
<dc:creator>Manish Sharma</dc:creator>
<dc:subject>Select tag overlap in IE, Part II</dc:subject>
<description><![CDATA[Hi Tanny<br /><br />I am facing the problem of Combo box which is overlapping Select Combo box in My page. But you have already sorted out this problem really this is great. Can i use this code with my Drop down menu (its [ul, li] based). If yes please Suggest me what should i pick.]]></description>
<content:encoded><![CDATA[Hi Tanny<br /><br />I am facing the problem of Combo box which is overlapping Select Combo box in My page. But you have already sorted out this problem really this is great. Can i use this code with my Drop down menu (its [ul, li] based). If yes please Suggest me what should i pick.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/select-tag-overlap-in-ie-part-ii?opendocument&amp;comments#04302008115718AMICAQ8V.htm</link>
</item>
<item>
<title>Date input and calendar popup</title>
<pubDate>Tue, 22 Apr 2008 04:15:57 PM -0700</pubDate>
<dc:creator>Tanny O'Haley</dc:creator>
<dc:subject>Date input and calendar popup</dc:subject>
<description><![CDATA[Hi Naim,<br /><br />This is quite simple and there is an example in the <a href="../../test.nsf/calpopup.htm">calpopup.htm</a> demo page.<br /><br />If the field name is ext, set the dateFrom parameter to today's date.<br /><br />onclick="g_Calendar.show(event,'ex2', null, new Date())"<br /><br />Now the user will not be able to select a date less than today's date from the drop down calendar. When you submit the form you will have to check the date for an invalid date, since they can still type in any date. In your onsubmit function add:<br /><br />var f = document.forms[0];<br /><br />if(!magicDate(f.ext) &&amp; (new Date(f.ext))&lt;=(new Date()) {<br>&nbsp;&nbsp;&nbsp;// Display error.<br>&nbsp;&nbsp;&nbsp;return false;<br>}<br /><br />You can also use the dateTo parameter to prevent users from selecting a future date.<br /><br />onclick="g_Calendar.show(event,'ex2', null, null, new Date())"]]></description>
<content:encoded><![CDATA[Hi Naim,<br /><br />This is quite simple and there is an example in the <a href="../../test.nsf/calpopup.htm">calpopup.htm</a> demo page.<br /><br />If the field name is ext, set the dateFrom parameter to today's date.<br /><br />onclick="g_Calendar.show(event,'ex2', null, new Date())"<br /><br />Now the user will not be able to select a date less than today's date from the drop down calendar. When you submit the form you will have to check the date for an invalid date, since they can still type in any date. In your onsubmit function add:<br /><br />var f = document.forms[0];<br /><br />if(!magicDate(f.ext) &&amp; (new Date(f.ext))&lt;=(new Date()) {<br>&nbsp;&nbsp;&nbsp;// Display error.<br>&nbsp;&nbsp;&nbsp;return false;<br>}<br /><br />You can also use the dateTo parameter to prevent users from selecting a future date.<br /><br />onclick="g_Calendar.show(event,'ex2', null, null, new Date())"]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup?opendocument&amp;comments#04222008041557PMICAVAJ.htm</link>
</item>
<item>
<title>Date input and calendar popup</title>
<pubDate>Tue, 22 Apr 2008 12:34:52 AM -0700</pubDate>
<dc:creator>naim</dc:creator>
<dc:subject>Date input and calendar popup</dc:subject>
<description><![CDATA[Hi!<br /><br />What can be don to disable the dates previous to today? User can't be able to select any old date than today? help me...<br /><br />Thanks............<br /><br />Naim]]></description>
<content:encoded><![CDATA[Hi!<br /><br />What can be don to disable the dates previous to today? User can't be able to select any old date than today? help me...<br /><br />Thanks............<br /><br />Naim]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup?opendocument&amp;comments#04222008123452AMICAAWC.htm</link>
</item>
<item>
<title>Select tag overlap in IE</title>
<pubDate>Mon, 21 Apr 2008 08:54:05 AM -0700</pubDate>
<dc:creator>Molinet Fabien</dc:creator>
<dc:subject>Select tag overlap in IE</dc:subject>
<description><![CDATA[Hi,<br /><br />I have done a small Javascript that corrects this SELECT bug under IE :<br /><br />{ <a href="http://www.fabien-molinet.fr/index.php?option=com_content&task=blogsection&id=8&Itemid=9" title="Link: www.fabien-molinet.fr/index.php?option=com_content&task=blogsection&id=8&Itemid=9">Link</a> }<br /><br />It does the trick automatically for you.<br /><br />The code is released under BSD licence.<br /><br />Furthermore, you'll find 3 public methods in the Javascript. I think that you'll find them usefull :)<br /><br />Please give me some feedback !<br /><br />Best regards,<br /><br />Molinet Fabien<br /><br />fabien.molinet [you know what] gmail.com]]></description>
<content:encoded><![CDATA[Hi,<br /><br />I have done a small Javascript that corrects this SELECT bug under IE :<br /><br />{ <a href="http://www.fabien-molinet.fr/index.php?option=com_content&task=blogsection&id=8&Itemid=9" title="Link: www.fabien-molinet.fr/index.php?option=com_content&task=blogsection&id=8&Itemid=9">Link</a> }<br /><br />It does the trick automatically for you.<br /><br />The code is released under BSD licence.<br /><br />Furthermore, you'll find 3 public methods in the Javascript. I think that you'll find them usefull :)<br /><br />Please give me some feedback !<br /><br />Best regards,<br /><br />Molinet Fabien<br /><br />fabien.molinet [you know what] gmail.com]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/Select-tag-overlap-in-IE?opendocument&amp;comments#21042008085405ICALNG.htm</link>
</item>
<item>
<title>Select tag overlap in IE, Part II</title>
<pubDate>Tue, 15 Apr 2008 08:35:33 PM -0700</pubDate>
<dc:creator>WW</dc:creator>
<dc:subject>Select tag overlap in IE, Part II</dc:subject>
<description><![CDATA[Hi Tanny, <br /><br />Great article!<br /><br />I have successfully implemented the above codes but one problem though .... the dropdown menu is displayed below the iframe, I am using a different css for the menu.]]></description>
<content:encoded><![CDATA[Hi Tanny, <br /><br />Great article!<br /><br />I have successfully implemented the above codes but one problem though .... the dropdown menu is displayed below the iframe, I am using a different css for the menu.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/select-tag-overlap-in-ie-part-ii?opendocument&amp;comments#04152008083533PMICA68S.htm</link>
</item>
<item>
<title>Date input and calendar popup</title>
<pubDate>Fri, 11 Apr 2008 07:08:36 AM -0700</pubDate>
<dc:creator>abhisek</dc:creator>
<dc:subject>Date input and calendar popup</dc:subject>
<description><![CDATA[hi.<br /><br />actully i created two textbox . and i am entering the date in them through calender.but i want that the date of second text box should be greater then or equal to first textbox's date]]></description>
<content:encoded><![CDATA[hi.<br /><br />actully i created two textbox . and i am entering the date in them through calender.but i want that the date of second text box should be greater then or equal to first textbox's date]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup?opendocument&amp;comments#04112008070836AMICAJLF.htm</link>
</item>
<item>
<title>Date Input and Calendar Popup Instructions</title>
<pubDate>Thu, 10 Apr 2008 04:22:42 PM -0700</pubDate>
<dc:creator>Chris</dc:creator>
<dc:subject>Date Input and Calendar Popup Instructions</dc:subject>
<description><![CDATA[I did something very similar after poking around the calendar.js code. What I did was change line 216 to:<br /><br />if (tmp &&amp; tmp.value &&amp; tmp.value.split(this.dateDelim).length==3 &&amp; tmp.value!=tmp.getAttribute("title")){]]></description>
<content:encoded><![CDATA[I did something very similar after poking around the calendar.js code. What I did was change line 216 to:<br /><br />if (tmp &&amp; tmp.value &&amp; tmp.value.split(this.dateDelim).length==3 &&amp; tmp.value!=tmp.getAttribute("title")){]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup-instructions?opendocument&amp;comments#04102008042242PMICAVET.htm</link>
</item>
<item>
<title>Date Input and Calendar Popup Instructions</title>
<pubDate>Thu, 10 Apr 2008 04:09:48 PM -0700</pubDate>
<dc:creator>Tanny O'Haley</dc:creator>
<dc:subject>Date Input and Calendar Popup Instructions</dc:subject>
<description><![CDATA[Hi Chris,<br /><br />The reason you're having this problem is because the dateparse routine runs on blur which is also when the hint plugin replaces the blank input field with the title of the input field. The title of the input field is not a valid date, so dateparse returns an error. To fix this we'll have to check the input field's value against the title and return if they are equal.</p><ul><li>Edit the dateparse.js file.</li><li>Find the magicDate function.</li><li>Add the following code at the top of the magicDate function.</p><pre>if(input.value == input.title) {<br>	return true;<br>}</pre></li></ul><p>This should fix it and as long as the title doesn't have the date delimiter in it you'll be fine, otherwise you will have to modify the if statement on line 216 of calpopup.js to add &&amp; !(tmp.value == tmp.title).<br /><br />You will still have to validate the input field's value before submitting the form and add special code to blank out the date field if the value is equal to the title.]]></description>
<content:encoded><![CDATA[Hi Chris,<br /><br />The reason you're having this problem is because the dateparse routine runs on blur which is also when the hint plugin replaces the blank input field with the title of the input field. The title of the input field is not a valid date, so dateparse returns an error. To fix this we'll have to check the input field's value against the title and return if they are equal.</p><ul><li>Edit the dateparse.js file.</li><li>Find the magicDate function.</li><li>Add the following code at the top of the magicDate function.</p><pre>if(input.value == input.title) {<br>	return true;<br>}</pre></li></ul><p>This should fix it and as long as the title doesn't have the date delimiter in it you'll be fine, otherwise you will have to modify the if statement on line 216 of calpopup.js to add &&amp; !(tmp.value == tmp.title).<br /><br />You will still have to validate the input field's value before submitting the form and add special code to blank out the date field if the value is equal to the title.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup-instructions?opendocument&amp;comments#04102008040948PMICAV6P.htm</link>
</item>
<item>
<title>Date Input and Calendar Popup Instructions</title>
<pubDate>Thu, 10 Apr 2008 08:13:16 AM -0700</pubDate>
<dc:creator>Chris</dc:creator>
<dc:subject>Date Input and Calendar Popup Instructions</dc:subject>
<description><![CDATA[I am using this jQuery script ({ <a href="http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/" title="Link: remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/">Link</a> } ) to provide a Hint to a calendar input. Since the Hint places a value in the textbox its causing issue with the display of the calendar. Is there a way I can prevent it from acting on the Hint?]]></description>
<content:encoded><![CDATA[I am using this jQuery script ({ <a href="http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/" title="Link: remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/">Link</a> } ) to provide a Hint to a calendar input. Since the Hint places a value in the textbox its causing issue with the display of the calendar. Is there a way I can prevent it from acting on the Hint?]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/date-input-and-calendar-popup-instructions?opendocument&amp;comments#04102008081316AMICAKUU.htm</link>
</item>
<item>
<title>Ford Trouble</title>
<pubDate>Wed, 9 Apr 2008 11:23:56 AM -0700</pubDate>
<dc:creator>Robert</dc:creator>
<dc:subject>Ford Trouble</dc:subject>
<description><![CDATA[It's the gremlins I tell ya. 'em gremlins!!!! ;-)]]></description>
<content:encoded><![CDATA[It's the gremlins I tell ya. 'em gremlins!!!! ;-)]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/ford-trouble?opendocument&amp;comments#04092008112356AMICAPKZ.htm</link>
</item>
<item>
<title>Ford Trouble</title>
<pubDate>Tue, 8 Apr 2008 05:34:34 PM -0700</pubDate>
<dc:creator>Tanny O'Haley</dc:creator>
<dc:subject>Ford Trouble</dc:subject>
<description><![CDATA[Sunrise Ford put in a data acquisition device about four weeks ago. If the car stops, we are supposed to push a red button on the device. Now it's working correctly, not one shut off since they installed the device. Oh, well.]]></description>
<content:encoded><![CDATA[Sunrise Ford put in a data acquisition device about four weeks ago. If the car stops, we are supposed to push a red button on the device. Now it's working correctly, not one shut off since they installed the device. Oh, well.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/ford-trouble?opendocument&amp;comments#04082008053434PMICA2PN.htm</link>
</item>
<item>
<title>Select tag overlap in IE, Part III</title>
<pubDate>Tue, 8 Apr 2008 05:31:05 PM -0700</pubDate>
<dc:creator>Tanny O'Haley</dc:creator>
<dc:subject>Select tag overlap in IE, Part III</dc:subject>
<description><![CDATA[Hi Carlos,<br /><br />It looks like you don't have the latest version of <a href="../../test.nsf/js/iehover-fix.js">iehover-fix.js</a> which does support https. Please download the latest version.]]></description>
<content:encoded><![CDATA[Hi Carlos,<br /><br />It looks like you don't have the latest version of <a href="../../test.nsf/js/iehover-fix.js">iehover-fix.js</a> which does support https. Please download the latest version.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/select-tag-overlap-in-ie-part-iii?opendocument&amp;comments#04082008053105PMICA2MQ.htm</link>
</item>
<item>
<title>Ford Trouble</title>
<pubDate>Tue, 8 Apr 2008 11:13:32 AM -0700</pubDate>
<dc:creator>iain</dc:creator>
<dc:subject>Ford Trouble</dc:subject>
<description><![CDATA[If they say there is nothing wrong with it sell it back to them and get something else. We had a similar issue with a neon. I believe it was the transmission. I think it was a standard if I remember correctly. We traded it in after they said there was nothing wrong with it and it stalled on them when they went to fill it up with gas after we had made the trade.]]></description>
<content:encoded><![CDATA[If they say there is nothing wrong with it sell it back to them and get something else. We had a similar issue with a neon. I believe it was the transmission. I think it was a standard if I remember correctly. We traded it in after they said there was nothing wrong with it and it stalled on them when they went to fill it up with gas after we had made the trade.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/ford-trouble?opendocument&amp;comments#04082008111332AMICAPDH.htm</link>
</item>
<item>
<title>Select tag overlap in IE, Part III</title>
<pubDate>Mon, 7 Apr 2008 02:38:56 PM -0700</pubDate>
<dc:creator>carlos</dc:creator>
<dc:subject>Select tag overlap in IE, Part III</dc:subject>
<description><![CDATA[Sorry but forgot to mentioned...on iplanet it is secured http.<br /><br />but im sure in the code we already handle https..i just installed iplanet on my local machine and it is working,so mostly it is realated to { <a href="http://(secured " title="Link: (secured ">Link</a> } http) session.<br /><br />please guide me for this.]]></description>
<content:encoded><![CDATA[Sorry but forgot to mentioned...on iplanet it is secured http.<br /><br />but im sure in the code we already handle https..i just installed iplanet on my local machine and it is working,so mostly it is realated to { <a href="http://(secured " title="Link: (secured ">Link</a> } http) session.<br /><br />please guide me for this.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/select-tag-overlap-in-ie-part-iii?opendocument&amp;comments#04072008023856PMICATDV.htm</link>
</item>
<item>
<title>Select tag overlap in IE, Part III</title>
<pubDate>Mon, 7 Apr 2008 02:00:54 PM -0700</pubDate>
<dc:creator>carlos</dc:creator>
<dc:subject>Select tag overlap in IE, Part III</dc:subject>
<description><![CDATA[Hello Tanny,<br /><br />Im facing very wierd issue.the drop-down menu is working fine but on one of the server(Iplanet) on IE6 it is giving me prob.it is showing blank menu. for ref. here is the java script.<br /><br />&lt;!--[if lte IE 6]&gt; <br /><br />&lt;script type="text/javascript"&gt;&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--<br /><br />sfHover = function() {<br /><br />// Support the standard nav without a class of nav.<br /><br />var el = document.getElementById("nav");<br /><br />if(!/\bnav\b/.test(el.className) &&amp; el.tagName == "UL")<br /><br />setHover(el);<br /><br />// Find all unordered lists.<br /><br />var ieNavs = document.getElementsByTagName('ul');<br /><br />for(i=0; i&lt;ieNavs.length; i++) {<br /><br />var ul = ieNavs;<br /><br />// If they have a class of nav add the menu hover.<br /><br />if(/\bnav\b/.test(ul.className))<br /><br />setHover(ul);<br /><br />}<br /><br />}<br /><br />function setHover(nav) {<br /><br />var ieULs = nav.getElementsByTagName('ul');<br /><br />if (navigator.appVersion.substr(22,3)!="5.0") {<br /><br />// IE script to cover &lt;select&gt; elements with &lt;iframe&gt;s<br /><br />for (j=0; j&lt;ieULs.length; j++) {<br /><br />var ieMat=document.createElement('iframe');<br /><br />if(document.location.protocol == "https:")<br /><br />ieMat.src="javascript:false";<br /><br />else<br /><br />ieMat.src="javascript:false";<br /><br />ieMat.scrolling="no";<br /><br />ieMat.frameBorder="0";<br /><br />ieMat.style.width=ieULs[j].offsetWidth+"px";<br /><br />ieMat.style.height=ieULs[j].offsetHeight+"px";<br /><br />ieMat.style.zIndex="-1";<br /><br />ieULs[j].insertBefore(ieMat, ieULs[j].childNodes[0]);<br /><br />ieULs[j].style.zIndex="101";<br /><br />}<br /><br />// IE script to change class on mouseover<br /><br />var ieLIs = nav.getElementsByTagName('li');<br /><br />for (var i=0; i&lt;ieLIs.length; i++) if (ieLIs) {<br /><br />// Add a sfhover class to the li.<br /><br />ieLIs.onmouseover=function() {<br /><br />if(!/\bsfhover\b/.test(this.className))<br /><br />this.className+=" sfhover";<br /><br />}<br /><br />ieLIs.onmouseout=function() {<br /><br />if(!this.contains(event.toElement))<br /><br />this.className=this.className.replace(' sfhover', '');<br /><br />}<br /><br />}<br /><br />} else {<br /><br />// IE 5.0 doesn't support iframes so hide the select statements on hover and show on mouse out.<br /><br />// IE script to change class on mouseover<br /><br />var ieLIs = document.getElementById('nav').getElementsByTagName('li');<br /><br />for (var i=0; i&lt;ieLIs.length; i++) if (ieLIs) {<br /><br />ieLIs.onmouseover=function() {this.className+=" sfhover";hideSelects();}<br /><br />ieLIs.onmouseout=function() {this.className=this.className.replace(' sfhover', '');showSelects()}<br /><br />}<br /><br />}<br /><br />}<br /><br />// If IE 5.0 hide and show the select statements.<br /><br />function hideSelects(){<br /><br />var oSelects=document.getElementsByTagName("select");<br /><br />for(var i=0;i&lt;oSelects.length;i++)<br /><br />oSelects.className+=" hide";<br /><br />}<br /><br />function showSelects(){<br /><br />var oSelects=document.getElementsByTagName("select");<br /><br />for(var i=0;i&lt;oSelects.length;i++)<br /><br />oSelects.className=oSelects.className.replace(" hide","");<br /><br />}<br /><br />// Run this only for IE.<br /><br />if (window.attachEvent) window.attachEvent('onload', sfHover);<br /><br />// end<br /><br />//--&gt;&lt;!]]&gt;&lt;/script&gt;<br /><br />&lt;![endif]--&gt; <br /><br />Its really urgent i will appericiate your help on this.]]></description>
<content:encoded><![CDATA[Hello Tanny,<br /><br />Im facing very wierd issue.the drop-down menu is working fine but on one of the server(Iplanet) on IE6 it is giving me prob.it is showing blank menu. for ref. here is the java script.<br /><br />&lt;!--[if lte IE 6]&gt; <br /><br />&lt;script type="text/javascript"&gt;&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--<br /><br />sfHover = function() {<br /><br />// Support the standard nav without a class of nav.<br /><br />var el = document.getElementById("nav");<br /><br />if(!/\bnav\b/.test(el.className) &&amp; el.tagName == "UL")<br /><br />setHover(el);<br /><br />// Find all unordered lists.<br /><br />var ieNavs = document.getElementsByTagName('ul');<br /><br />for(i=0; i&lt;ieNavs.length; i++) {<br /><br />var ul = ieNavs;<br /><br />// If they have a class of nav add the menu hover.<br /><br />if(/\bnav\b/.test(ul.className))<br /><br />setHover(ul);<br /><br />}<br /><br />}<br /><br />function setHover(nav) {<br /><br />var ieULs = nav.getElementsByTagName('ul');<br /><br />if (navigator.appVersion.substr(22,3)!="5.0") {<br /><br />// IE script to cover &lt;select&gt; elements with &lt;iframe&gt;s<br /><br />for (j=0; j&lt;ieULs.length; j++) {<br /><br />var ieMat=document.createElement('iframe');<br /><br />if(document.location.protocol == "https:")<br /><br />ieMat.src="javascript:false";<br /><br />else<br /><br />ieMat.src="javascript:false";<br /><br />ieMat.scrolling="no";<br /><br />ieMat.frameBorder="0";<br /><br />ieMat.style.width=ieULs[j].offsetWidth+"px";<br /><br />ieMat.style.height=ieULs[j].offsetHeight+"px";<br /><br />ieMat.style.zIndex="-1";<br /><br />ieULs[j].insertBefore(ieMat, ieULs[j].childNodes[0]);<br /><br />ieULs[j].style.zIndex="101";<br /><br />}<br /><br />// IE script to change class on mouseover<br /><br />var ieLIs = nav.getElementsByTagName('li');<br /><br />for (var i=0; i&lt;ieLIs.length; i++) if (ieLIs) {<br /><br />// Add a sfhover class to the li.<br /><br />ieLIs.onmouseover=function() {<br /><br />if(!/\bsfhover\b/.test(this.className))<br /><br />this.className+=" sfhover";<br /><br />}<br /><br />ieLIs.onmouseout=function() {<br /><br />if(!this.contains(event.toElement))<br /><br />this.className=this.className.replace(' sfhover', '');<br /><br />}<br /><br />}<br /><br />} else {<br /><br />// IE 5.0 doesn't support iframes so hide the select statements on hover and show on mouse out.<br /><br />// IE script to change class on mouseover<br /><br />var ieLIs = document.getElementById('nav').getElementsByTagName('li');<br /><br />for (var i=0; i&lt;ieLIs.length; i++) if (ieLIs) {<br /><br />ieLIs.onmouseover=function() {this.className+=" sfhover";hideSelects();}<br /><br />ieLIs.onmouseout=function() {this.className=this.className.replace(' sfhover', '');showSelects()}<br /><br />}<br /><br />}<br /><br />}<br /><br />// If IE 5.0 hide and show the select statements.<br /><br />function hideSelects(){<br /><br />var oSelects=document.getElementsByTagName("select");<br /><br />for(var i=0;i&lt;oSelects.length;i++)<br /><br />oSelects.className+=" hide";<br /><br />}<br /><br />function showSelects(){<br /><br />var oSelects=document.getElementsByTagName("select");<br /><br />for(var i=0;i&lt;oSelects.length;i++)<br /><br />oSelects.className=oSelects.className.replace(" hide","");<br /><br />}<br /><br />// Run this only for IE.<br /><br />if (window.attachEvent) window.attachEvent('onload', sfHover);<br /><br />// end<br /><br />//--&gt;&lt;!]]&gt;&lt;/script&gt;<br /><br />&lt;![endif]--&gt; <br /><br />Its really urgent i will appericiate your help on this.]]></content:encoded>
<link>http://tanny.ica.com/ica/tko/tkoblog.nsf/dx/select-tag-overlap-in-ie-part-iii?opendocument&amp;comments#04072008020054PMICASN5.htm</link>
</item>

</channel></rss>
