Solved

css menu behind flash in IE

Posted on 2013-05-28
8
305 Views
Last Modified: 2013-05-28
Hi. This works in all browsers except IE just for a change. I have a css menu that displays on top of the flash in all other browsers but in IE it drops down behind the flash and you can't see it! Is there a way to fix that? Many thanks.
0
Comment
Question by:jonofat
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 23

Expert Comment

by:tailoreddigital
ID: 39202186
Could you give a link to the problem menu?
0
 
LVL 9

Assisted Solution

by:Ishaan Rawat
Ishaan Rawat earned 100 total points
ID: 39202209
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 400 total points
ID: 39202212
Make sure the menu elements have a z-index that is higher than the flash and in the flash set wmode to transparent.

Cd&
0
 

Author Comment

by:jonofat
ID: 39202258
This is the flash script I got online:

<script type="text/javascript" src="js/swfobject.js"></script>
		
		<script type="text/javascript">
// JAVASCRIPT VARS
			// cache buster
			var cacheBuster = "?t=" + Date.parse(new Date());		
			
			// stage dimensions
			var stageW = 571;//"100%";
			var stageH = 487;//"100%";
			
			
			// ATTRIBUTES
		    var attributes = {};
		    attributes.id = 'FlabellComponent';
		    attributes.name = attributes.id;
		    
			// PARAMS
			var params = {};
			params.bgcolor = "#ffffff";
			

		    /* FLASH VARS */
			var flashvars = {};				
			
			/// if commented / delete these lines, the component will take the stage dimensions defined 
			/// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml			
			flashvars.componentWidth = stageW;
			flashvars.componentHeight = stageH;
			
			/// path to the content folder(where the xml files, images or video are nested)
			/// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")
			flashvars.pathToFiles = "banner/";
			flashvars.xmlPath = "xml/banner.xml";
						
			
			/** EMBED THE SWF**/
			swfobject.embedSWF("preview.swf"+cacheBuster, attributes.id, stageW, stageH, "9.0.124", "js/expressInstall.swf", flashvars, params);

Open in new window


And the menu is contained in a DIV that makes no mention of z-index. Not sure if this info is helpful or not.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 9

Expert Comment

by:Ishaan Rawat
ID: 39202272
Try it... Mine didn't work????
0
 

Author Comment

by:jonofat
ID: 39202280
IshaanRawat, I haven't tried it because I don't know how? I don't know where to put the code in relation to the code I have.
0
 

Author Comment

by:jonofat
ID: 39202364
COBOLdinosaur, your idea worked the best. I added :

params.wmode = "transparent";

and it now works!
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39202402
Yeah that generally solves it about 99% of the time.

Cd&
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

708 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

13 Experts available now in Live!

Get 1:1 Help Now