Solved

asp:Menu drop down falling behind swf file

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now