开发者

jQuery datepicker hidden behind Flash banner

I have a textbox on asp.net webform, which shows the jQuery datepicker on click. There is also a flash ba开发者_如何学Cnner on my page.

My problem is that the datepicker is appears hidden behind the flash banner, and I need it to appear on top of the banner.


Use the z-index property on your elements and set it so that the datepicker has the bigger index. http://www.w3schools.com/css/pr_pos_z-index.asp


Flash will be always above all content. THis is how browsers work

Also checkout this How do I place HTML content above a Flash movie?


You need to make sure you set the wmode value to "transparent" in the code that embeds the flash movie.

You need to add/edit the following:

<param name="wmode" value="transparent"> and wmode="transparent" inside the <embed src=”....”> tag.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜