开发者

Dynamically loaded flash movie is on top of jquery dialog: how to change zorder?

开发者 https://www.devze.com 2022-12-21 20:32 出处:网络
A flash movie is loaded on a page via javascript (replaceChild on a div) I add jquery datepicker to a input above this movie.

A flash movie is loaded on a page via javascript (replaceChild on a div)

I add jquery datepicker to a input above this movie.

When the datepicker (or other jquery element) is shown, it is shown under the movie (wrong zorder)

The element do have "z-index: 99" in its css class

How do i bring the jquery element up?

[Edit]

Theres no styling on the flash object tag

This happens on Chrome and IE, on firefox it also happens, but some elements are over the movie (picture)

alt开发者_如何学运维 text http://img171.imageshack.us/img171/5519/capturadetelainteira050.jpg


Got it...

had to add to the object:

<param name="wmode" value="opaque">

and to the css:

object
{ 
    position:relative; 
    z-index:0
}


you need to add wmode:transparent to the flash in order for it to appear behind other elements. http://kb2.adobe.com/cps/142/tn_14201.html

0

精彩评论

暂无评论...
验证码 换一张
取 消