PDA

View Full Version : Flash on top of Flash?


kinkarso
08-02-2007, 04:42 AM
Hi,

I have two flash advertisements that overlap. How do I set which one stays on top? :).

http://www.sportsaddicted.net/forums.php - Demo

Thank you,
Donny

majicassassin
08-02-2007, 07:56 AM
my guess would be the z-index of the DIV you're putting each in

panel
08-02-2007, 01:01 PM
of course you can change z-index using css styles. Create style and aplay it to DIV

atomic
08-02-2007, 01:44 PM
You mean the right-top folding one should always be on top of the other banner?

kinkarso
08-04-2007, 06:00 AM
Yup. That's what I mean. I'll try what's suggested right now, and see if it works.

kinkarso
08-04-2007, 06:25 AM
Hmm... not working.

I'm putting <div style="z-index:1"> for the one I want on top, and <div style="z-index:-1"> for the banner ad. Not sure if that's correct. I also tried <div style="z-index:2"> and <div style="z-index:1">.

It didn't work :(.

Thank you,
Donny

atomic
08-04-2007, 02:55 PM
Since your PagePeelAds bit is already set at z-index 9999, all I did was set your livetvws_468x60_01.swf at z-index 1, and it seems to work fine...

Change your line...

From...

<td><div style="border-color:#C1140B; border-style:double">

To...

<td><div style="border-color:#C1140B; border-style:double; z-index:1">

Also add the wmode=transparent to the embed tag, if you want it to work on browsers that use the embed tag, not the object tag.