views:

162

answers:

3

I use a jquery calendar and a flash in the same page.. What happens is my jquery calendar is overlapped by my flash... Any suggestion to make it display above flash... alt text

Look at the image and see my calendar Fr,sat are invisible because of flash...

EDIT: This is what i used,

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="702" height="443">
      <param name="movie" value="images/homebanner.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="transparent" />
      <embed src="images/homebanner.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="702" height="443" wmode="transparent"></embed>
    </object>
A: 

Use wmode='opaque' on the flash object and embed tags, that should fix it.

It's a param tag under , i.e. <param name="wmode" value="opaque" /> and just an attribute on the tag, i.e. wmode='opaque'

Lazarus
@Lazarus I did that but that didn't help
Pandiya Chendur
@Pandiya, that's odd... I've used this fix a number of times. Try @Jasper's suggestion and shift the z-index of the flash element. Have you tried the 'transparent' option on wmode?
Lazarus
@lazarus look at my edit...
Pandiya Chendur
A: 

When embedding the flash, use wmode=transparent or opaque. If it's still not working, mess around a bit with the z-index of the different elements.

Jasper De Bruijn
@Jasper look at my edit...
Pandiya Chendur
Give the calendar a z-index of 50, and see what happens. Does it show the same behaviour in all major browsers?
Jasper De Bruijn
A: 

IIRC, this isn't possible. Flash isn't rendered as a part of the page - a placeholder is made, the page is rendered around the placeholder, and then the Flash is slapped over the top after the rendering has been done.

Maybe it'll be different in Chrome once Flash is built in (as announced recently), but that'll be of limited help if the other browsers don't do it, and is no use to anyone in the here and now.

Schmoo