Solved

asp:Menu drop down falling behind swf file

Posted on 2009-05-11
5
723 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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:
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).

691 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