<?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>dropdown Archives &#8212; Stampede: the strategic design &amp; technology company</title>
	<atom:link href="https://stampede-design.com/blog/tag/dropdown/feed/" rel="self" type="application/rss+xml" />
	<link>https://stampede-design.com/blog/tag/dropdown/</link>
	<description>We are creating better worlds though thoughtful design and technology. Connect with us!</description>
	<lastBuildDate>Tue, 07 Apr 2026 09:07:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://stampede-design.com/wp-content/uploads/2024/02/cropped-Stampede-Favicon-old-32x32.png</url>
	<title>dropdown Archives &#8212; Stampede: the strategic design &amp; technology company</title>
	<link>https://stampede-design.com/blog/tag/dropdown/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Dropdown Menu Hiding Behind &#060;iframe&#062;</title>
		<link>https://stampede-design.com/blog/dropdown-menu-hidden-behind-iframe/</link>
					<comments>https://stampede-design.com/blog/dropdown-menu-hidden-behind-iframe/#comments</comments>
		
		<dc:creator><![CDATA[Syazwan Hakim]]></dc:creator>
		<pubDate>Thu, 09 Jun 2011 17:32:31 +0000</pubDate>
				<category><![CDATA[Field Notes]]></category>
		<category><![CDATA[browser fix]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[front-end development]]></category>
		<category><![CDATA[iframe]]></category>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=1185</guid>

					<description><![CDATA[<p>Chances are many who work with HTML and CSS came across this peculiarity of dropdown navigation stubbornly hiding itself behind an &#60;iframe&#62; element. Syazwan shares the workaround that might just save you hours of hair pullings.</p>
<p>The post <a href="https://stampede-design.com/blog/dropdown-menu-hidden-behind-iframe/">Dropdown Menu Hiding Behind &lt;iframe&gt;</a> appeared first on <a href="https://stampede-design.com">Stampede: the strategic design &amp; technology company</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="lead">Have you ever been caught by a dropdown navigation that stubbornly hides itself?  Well, I found that while it normally works fine with Firefox, this problem usually occurs in Chrome and IE browser.</p>
<div class="full"><img fetchpriority="high" decoding="async" width="457" height="121" src="https://stampede-design.com/wp-content/uploads/2011/06/hidden-dropdown.jpg" alt="hidden dropdown" class="size-full wp-image-1186" srcset="https://stampede-design.com/wp-content/uploads/2011/06/hidden-dropdown.jpg 457w, https://stampede-design.com/wp-content/uploads/2011/06/hidden-dropdown-300x79.jpg 300w" sizes="(max-width: 457px) 100vw, 457px" /><p class="capt_block">Dropdown menu comparison</p></div>
<p>As you can see in the image above, the dropdown on the left works while the one on the right is hidden behind &lt;iframe&gt;. The first thing that came into my mind when this problem occur is the z-index property. But after some debugging, I found that it has nothing to do with z-index since the error does not occur when I changed &lt;iframe&gt; to &lt;img&gt; element.</p>
<h2>Is This Related to CSS?</h2>
<p>The answer is no. So, how to fix? I am using a video embedding code from YouTube as example.</p>
<pre class="brush: php; title: ; notranslate">

&lt;iframe width=&quot;560&quot; height=&quot;349&quot; src=&quot;http://www.youtube.com/embed/rLVCjnEGrqQ&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;

</pre>
<p>To fix the hidden dropdown issue, what you need is just a simple wmode=transparent code.</p>
<h2>What Is WMODE?</h2>
<p>WMODE is the Window Mode setting for Flash/SWF. Its possible values are &#8220;window&#8221;, &#8220;opaque&#8221; or &#8220;transparent&#8221;. </p>
<ul>
<li>wmode=transparent: sets the Flash/SWF background to be transparent. This allows the background color or image of the content page behind to show through. This is required for overlay (such as jQuery Overlay) contents to show the Flash/SWF.</li>
<li>wmode=opaque: hides everything on the page behind Flash.</li>
<li>wmode=window: plays in its own rectangular window on a web page</li>
</ul>
<h2>How Do I Use WMODE?</h2>
<p>What you need to do is simply add the &#8220;?wmode=transparent&#8221; at the end of src parameter and &#8220;wmode=transparent&#8221; at the end of &lt;iframe&gt;</p>
<pre class="brush: php; title: ; notranslate">

&lt;iframe width=&quot;560&quot; height=&quot;349&quot; src=&quot;http://www.youtube.com/embed/rLVCjnEGrqQ?wmode=transparent&quot; frameborder=&quot;0&quot; allowfullscreen wmode=&quot;transparent&quot;&gt;&lt;/iframe&gt;

</pre>
<p>Hope this helps!</p>
<p>The post <a href="https://stampede-design.com/blog/dropdown-menu-hidden-behind-iframe/">Dropdown Menu Hiding Behind &lt;iframe&gt;</a> appeared first on <a href="https://stampede-design.com">Stampede: the strategic design &amp; technology company</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stampede-design.com/blog/dropdown-menu-hidden-behind-iframe/feed/</wfw:commentRss>
			<slash:comments>83</slash:comments>
		
		
			</item>
	</channel>
</rss>
