Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-21-2011, 03:46 PM   PM User | #1
zduke
New to the CF scene

 
Join Date: Mar 2011
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
zduke is an unknown quantity at this point
RESOLVED! - swf with Javascript slideshow - overlaps css menu

I need my css menu to stay on top of everything, but there is a .swf with a javascript code that I am using for a slideshow that won't stay under the menu.

Any solutions? - THANK YOU!

Here's the test page: http://dbk.me/test/intro.html

Last edited by zduke; 03-22-2011 at 04:29 AM..
zduke is offline   Reply With Quote
Old 03-21-2011, 05:57 PM   PM User | #2
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
wmode="transparent"

add that to your embed tag
__________________
Stop making things so hard on yourself.
i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis
harbingerOTV is offline   Reply With Quote
Old 03-21-2011, 07:06 PM   PM User | #3
zduke
New to the CF scene

 
Join Date: Mar 2011
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
zduke is an unknown quantity at this point
Thanks for the suggestion, but I tried all possible places to put that and it's still not working. Can you give an example of where in the code to put it? The slide show doesn't have an 'embed' tag, no object or embed. I guess it's all controlled by that javascript code?

Here is the code that is controlling the slide show.

#flashcontent {
float:top;
position: relative;
margin: 150px 0px 0px 0px;
z-index:1;
}
</style>

</head>

<body>
<div align="center">
<div id="flashcontent">
<script type="text/javascript" src="scripts/swfobject.js"></script>
<script type="text/javascript">
var so = new SWFObject("intro.swf", "mymovie", "750", "450", "9","#ffffff");
so.addParam("menu", "false");
so.addParam("allowfullscreen", "true");
so.addParam("allowScriptAccess", "always");
so.addVariable("dataPath", "intro_asset/introdata.xml");
so.write("flashcontent");

</script>
</div>

</div>
zduke is offline   Reply With Quote
Old 03-21-2011, 07:19 PM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,615
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
It looks alright in Firefox 3.6 but you may wanna play around with z-index (i. e. give the footer and/or the menu a higher z index than the flashcontent).
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 03-21-2011, 07:42 PM   PM User | #5
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
so.addParam("wmode", "transparent");
__________________
Stop making things so hard on yourself.
i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis
harbingerOTV is offline   Reply With Quote
Users who have thanked harbingerOTV for this post:
zduke (03-22-2011)
Old 03-22-2011, 04:26 AM   PM User | #6
zduke
New to the CF scene

 
Join Date: Mar 2011
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
zduke is an unknown quantity at this point
THANK YOU! That worked! so.addParam("wmode", "transparent");

I appreciate your help, you're an angel!

RESOLVED!!!
zduke is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript, menu, overlap, swf, top

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:41 PM.


Advertisement
Log in to turn off these ads.