Menu Item hidden behind SWF while sliding in FF
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22329
Printed Date: 29 March 2026 at 2:06pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Menu Item hidden behind SWF while sliding in FF
Posted By: PrivateEye
Subject: Menu Item hidden behind SWF while sliding in FF
Date Posted: 03 January 2007 at 8:01pm
I designed vertical menu in Infinite menu. I am also using .swf file in website contents. The sub menu item while sliding rightwards goes behind the .swf movie, hence sub menu items are not visible to users. This happens in Fire Fox. Whereas in IE 6, it works fine. I am using wwf default.css for rest of my website layout. Can anyone please help me out so that the sub menu can be visible while sliding. Thank you.
------------- The Judgement Day
|
Replies:
Posted By: scottage
Date Posted: 04 January 2007 at 9:41am
How are you writing the flash into the page? If you're using swfobject.js you're going to have some issues. The situation is that a browser will download the HTML, download the CSS, render the HTML, apply the CSS then run the JavaScript to add the flash to the page. Because the JavaScript runs AFTER the CSS is applied to the HTML any z-index attributes are ignored so the flash written by the JavaScript will always be on top of everything else.
------------- http://www.realwebdevelopers.com" rel="nofollow - Developing real world websites
|
Posted By: PrivateEye
Date Posted: 04 January 2007 at 11:25am
Thank you for your detailed answer. Actually I used Swish and exported the movie as .swf and then pasted the code generated by Swish for this movie. The code looks like this
<< ="">>object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" code="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" id="slide_show" viewastext="" height="200" width="290">
< name="movie" value="movie.swf">
< name="quality" value="high">
< name="" value="#FFFFFF">
< name="movie" ="movie.swf" quality="high" ="#FFFFFF" ="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" height="200" width="290">
</object>
I think this movie is not loaded by JavaScript. Please help how can I fix this issue. Thank you.
------------- The Judgement Day
|
|