Forum Moderators: open

Message Too Old, No Replies

flash and js dropdown menus

can I have the flash element display in the background?

         

driven_snow

5:54 pm on Mar 1, 2004 (gmt 0)

10+ Year Member



I have a site that uses a javascript dropdown menu, and I wish to have various flash featurettes throughout the site.

However, the dropdown always falls behind the flash element, ( this despite the z-index of the menu being much higher than that of the layer the swf resides within. )

Can I assign a z-index to the swf itself? :?

limbo

12:48 pm on Mar 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No but, you could assign a div a z-index value of 0 and place the swf inside it.

That should work.

Ta

Limbo

<edit> added value </edit>

benihana

4:20 pm on Mar 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i *think* flash content always appears over the top of html irrespective of z-index.
ben

limbo

4:34 pm on Mar 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I thought that - but I am sure I have seen rollover banners (shudder) drop down over flash anims before - perhaps the rollover banner was flash too then?

korkus2000

6:51 pm on Mar 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you find a way to do it post it here. Flash being a plugin takes up the container real estate.

benihana

9:00 am on Mar 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



now you mention it limbo - i vaguely remember a drop down menu being advertised as working over flash, but have never seen it done myself.

driven_snow

2:29 pm on Mar 3, 2004 (gmt 0)

10+ Year Member



Very interesting.

I guess something's gotta give then. * sigh *

limbo

3:24 pm on Mar 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This puzzled me so I have toyed with it: Combined divs, looked at nesting them and tried as many combinations I could think of.

It appears that you cannot add content 'over' a swf unless it is another flash element - which you can house in a <div>.

Images or any HTML element will not display - as Ben and Korkus have already mentioned.

Ta

Limbo