<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Internet Explorer HACK/Fix For Select Box Showing through DIV</title>
	<atom:link href="http://www.javascriptjunkie.com/index.php?feed=rss2&#038;p=5" rel="self" type="application/rss+xml" />
	<link>http://www.javascriptjunkie.com/?p=5</link>
	<description>JavaScript - DHTML - AJAX</description>
	<lastBuildDate>Thu, 08 Apr 2010 19:22:30 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tom</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-6842</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 07 Jan 2010 23:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-6842</guid>
		<description>If you need help with this code let me know I can show you working examples on my site www.thenextinternetmillionaires.com
you can also obscure this with javascript, having the iframe in a js file and calling it in the html source, so it does not look so clear what your doing ;)</description>
		<content:encoded><![CDATA[<p>If you need help with this code let me know I can show you working examples on my site <a href="http://www.thenextinternetmillionaires.com" rel="nofollow">http://www.thenextinternetmillionaires.com</a><br />
you can also obscure this with javascript, having the iframe in a js file and calling it in the html source, so it does not look so clear what your doing <img src='http://www.javascriptjunkie.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Russell</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-2238</link>
		<dc:creator>Michael Russell</dc:creator>
		<pubDate>Fri, 17 Apr 2009 07:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-2238</guid>
		<description>Thanks for your solution Fabien Molinet. It is very easy to use.</description>
		<content:encoded><![CDATA[<p>Thanks for your solution Fabien Molinet. It is very easy to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken George</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-1727</link>
		<dc:creator>Ken George</dc:creator>
		<pubDate>Wed, 03 Dec 2008 15:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-1727</guid>
		<description>Sorry....the last lines in the post did not come through....

Here is what it should read:

I have a similar situation, but instead of the menu being a on the same page as the selects, the selects are contained within a page already loaded in an IFRAME.

In other words, I have a page that contains a drop-down menu. Below the menu, I have an IFRAME that changes the page source based on the selection in the drop-down menu. The SELECTS in the pages (contained in the IFRAME) are bleeding through the DIV menu of the main page.  Adding an IFRAME on the same page of the menu doesn&#039;t seem to work.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Sorry&#8230;.the last lines in the post did not come through&#8230;.</p>
<p>Here is what it should read:</p>
<p>I have a similar situation, but instead of the menu being a on the same page as the selects, the selects are contained within a page already loaded in an IFRAME.</p>
<p>In other words, I have a page that contains a drop-down menu. Below the menu, I have an IFRAME that changes the page source based on the selection in the drop-down menu. The SELECTS in the pages (contained in the IFRAME) are bleeding through the DIV menu of the main page.  Adding an IFRAME on the same page of the menu doesn&#8217;t seem to work.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-1153</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Thu, 24 Jul 2008 17:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-1153</guid>
		<description>Hi,
I found this page because I had the problem with the select showing through my popup div.  Your solution made me think of another: I put the select statement inside a div and my function call that sets my popup div to display:block, also sets the div containing the select statement to display:none.  The &#039;close window&#039; link reverses these.  It works great in IE6 and all others.  Here&#039;s the code:

function show_message() {
		var d = document.getElementById(&quot;message&quot;);
		d.style.display = &quot;block&quot;;
		var e = document.getElementById(&quot;selection&quot;);
		e.style.display = &quot;none&quot;;
	}
	
function close_window () {
		var d = document.getElementById(&quot;message&quot;);
		d.style.display = &quot;none&quot;;
		var e = document.getElementById(&quot;selection&quot;);
		e.style.display = &quot;block&quot;;
	}

The div containing the message has id: message, and the div containing the select statement has id: selection.

Best,
Chad</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I found this page because I had the problem with the select showing through my popup div.  Your solution made me think of another: I put the select statement inside a div and my function call that sets my popup div to display:block, also sets the div containing the select statement to display:none.  The &#8216;close window&#8217; link reverses these.  It works great in IE6 and all others.  Here&#8217;s the code:</p>
<p>function show_message() {<br />
		var d = document.getElementById(&#8221;message&#8221;);<br />
		d.style.display = &#8220;block&#8221;;<br />
		var e = document.getElementById(&#8221;selection&#8221;);<br />
		e.style.display = &#8220;none&#8221;;<br />
	}</p>
<p>function close_window () {<br />
		var d = document.getElementById(&#8221;message&#8221;);<br />
		d.style.display = &#8220;none&#8221;;<br />
		var e = document.getElementById(&#8221;selection&#8221;);<br />
		e.style.display = &#8220;block&#8221;;<br />
	}</p>
<p>The div containing the message has id: message, and the div containing the select statement has id: selection.</p>
<p>Best,<br />
Chad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Molinet Fabien</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-1079</link>
		<dc:creator>Molinet Fabien</dc:creator>
		<pubDate>Fri, 04 Jul 2008 12:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-1079</guid>
		<description>Hi,

You might want to test my Select Fix which corrects this bug : http://www.fabien-molinet.fr/index.php?option=com_content&amp;task=blogsection&amp;id=8&amp;Itemid=9
You won&#039;t have to put obscure code like IFRAME in your webpages anymore.

Give me some feedback !

Best regards,
Fabien Molinet</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You might want to test my Select Fix which corrects this bug : <a href="http://www.fabien-molinet.fr/index.php?option=com_content&amp;task=blogsection&amp;id=8&amp;Itemid=9" rel="nofollow">http://www.fabien-molinet.fr/index.php?option=com_content&amp;task=blogsection&amp;id=8&amp;Itemid=9</a><br />
You won&#8217;t have to put obscure code like IFRAME in your webpages anymore.</p>
<p>Give me some feedback !</p>
<p>Best regards,<br />
Fabien Molinet</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wellington Oliveira</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-276</link>
		<dc:creator>Wellington Oliveira</dc:creator>
		<pubDate>Fri, 18 Jan 2008 12:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-276</guid>
		<description>Can anyone send the working script by email?
well.floripa@gmail.com</description>
		<content:encoded><![CDATA[<p>Can anyone send the working script by email?<br />
<a href="mailto:well.floripa@gmail.com">well.floripa@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clarence</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-155</link>
		<dc:creator>Clarence</dc:creator>
		<pubDate>Fri, 26 Oct 2007 18:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-155</guid>
		<description>Where can I see this in action?</description>
		<content:encoded><![CDATA[<p>Where can I see this in action?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaScript Junkie</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-88</link>
		<dc:creator>JavaScript Junkie</dc:creator>
		<pubDate>Tue, 18 Sep 2007 23:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-88</guid>
		<description>&lt;p&gt;Chris,&lt;/p&gt;
&lt;p&gt;I am glad it worked for you. It took me a good day to put together bits and pieces of info together to get it to work, some bits worked others didn&#039;t.&lt;/p&gt;
&lt;p&gt;I don&#039;t know what your exact need was, but for my &quot;dropdown&quot; menus, I didn&#039;t want ALL(if more than one) select boxes to disappear when the menu came down. I felt that there was potential to distract or confuse the user.  For me it felt distracting if the entire&lt;/p&gt;
&lt;select&gt; disappeared when only a portion was covered by the menu.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>I am glad it worked for you. It took me a good day to put together bits and pieces of info together to get it to work, some bits worked others didn&#8217;t.</p>
<p>I don&#8217;t know what your exact need was, but for my &#8220;dropdown&#8221; menus, I didn&#8217;t want ALL(if more than one) select boxes to disappear when the menu came down. I felt that there was potential to distract or confuse the user.  For me it felt distracting if the entire</p>
<p>&lt;select&gt; disappeared when only a portion was covered by the menu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.javascriptjunkie.com/?p=5&#038;cpage=1#comment-87</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Tue, 18 Sep 2007 22:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.javascriptjunkie.com/?p=5#comment-87</guid>
		<description>Thanks for this! It worked just fine for me when I broke the code down to this:

#oBox_iframe
{
	width:100%;
	height:100%;
	position:absolute;
	left:0;
	top:0px;
	display:block;
	filter:alpha(opacity=0);
	-moz-opacity: 0.80;
	opacity: 0.80;
}



I gave it a 100% width and height to take up the whole screen and cover all drop menus. Once the user clicks the prompt, you must close the i-frame or your page will be un-clickable.

I had to leave the frameborder attribute or else I was left with unwanted scrollbars in the browser window.

I also added the opacity code for other browsers.

Thanks again! This saved the day for me!</description>
		<content:encoded><![CDATA[<p>Thanks for this! It worked just fine for me when I broke the code down to this:</p>
<p>#oBox_iframe<br />
{<br />
	width:100%;<br />
	height:100%;<br />
	position:absolute;<br />
	left:0;<br />
	top:0px;<br />
	display:block;<br />
	filter:alpha(opacity=0);<br />
	-moz-opacity: 0.80;<br />
	opacity: 0.80;<br />
}</p>
<p>I gave it a 100% width and height to take up the whole screen and cover all drop menus. Once the user clicks the prompt, you must close the i-frame or your page will be un-clickable.</p>
<p>I had to leave the frameborder attribute or else I was left with unwanted scrollbars in the browser window.</p>
<p>I also added the opacity code for other browsers.</p>
<p>Thanks again! This saved the day for me!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
