Solved

asp:Menu drop down falling behind swf file

Posted on 2009-05-11
5
704 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to count occurrences of each item in an array.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

803 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