Solved

asp:Menu drop down falling behind swf file

Posted on 2009-05-11
5
709 Views
Last Modified: 2012-05-06
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
Comment
Question by:atuccillo
  • 3
  • 2
5 Comments
 
LVL 3

Accepted Solution

by:
janjerell earned 500 total points
ID: 24360703
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
 

Author Comment

by:atuccillo
ID: 24360750
I did that.  I also set the z-index of the menu items to 2.  Still nothing.
0
 

Author Comment

by:atuccillo
ID: 24360766
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
 
LVL 3

Expert Comment

by:janjerell
ID: 24361561
i tried it in ff here, it's working fine. what version of ff you have?
0
 

Author Comment

by:atuccillo
ID: 24363480
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question