[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 743
  • Last Modified:

asp:Menu drop down falling behind swf file

I'm building a website in .NET (C#).  The header file has a drop down menu made fom an asp:Menu component.  The index page has a swf file in it.  The problem I'm having is that the drop down menu is falling behind the swf file.  I set the z-index of the menu to 100 and set the wmode of the swf object to transparent.  These two things have gotten this problem fixed in the past, however I haven't worked with asp menu components before.  Any suggestions so the menu falls on top of the swf file?
0
atuccillo
Asked:
atuccillo
  • 3
  • 2
1 Solution
 
janjerellCommented:
Hi,

If you're using the embed tag use the the wmode attribute and set it to transparent. Thus, wmode="transparent".

Got it from here: http://www.communitymx.com/content/source/E5141/wmodetrans.htm


Try also to review the code below:
<div style='position:absolute;background-color:red;height:100px;width:100px;border: 1px solid blue;'>
</div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="200" width="200">
	<param name="movie" value="http://www.communitymx.com/content/source/E5141/wmode.swf">
	<param name="quality" value="high">
	<param name="wmode" value="transparent">
	<param name="menu" value="false">
	<embed src="http://www.communitymx.com/content/source/E5141/wmode.swf" quality="high" 
 
	pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" 	type="application/x-shockwave-flash" 
 
	wmode="transparent" menu="false" height="200" width="200">
</object>

Open in new window

0
 
atuccilloAuthor Commented:
I did that.  I also set the z-index of the menu items to 2.  Still nothing.
0
 
atuccilloAuthor Commented:
I forgot to mention that this problem only happens in Firefox; the menu works correctly (i.e. falling on top of the swf) in IE.
0
 
janjerellCommented:
i tried it in ff here, it's working fine. what version of ff you have?
0
 
atuccilloAuthor Commented:
Version 3.0.10
I tried again this morning and now it seems to be working.  Maybe it was a caching thing.  Thanks for your help.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now