Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 18, 2010 12:38 PM by keyurpatel
Feb 12, 2010 02:21 PM|LINK
I have a ModalPopupExtender implemented as a user control. On my pages there is a leaderboard ad unit that sometimes contains Flash objects. Also, sometimes there are YouTube videos embedded on the page. My ModalPop is layered underneath both of these
objects and they aren't "disabled" when the ModalPopup is active.
I have tried setting the z-index of the <div> that acts as the container element for the Flash ad units and the YouTube videos. It hasn't made a difference.
Feb 15, 2010 05:32 AM|LINK
Don't define the z-index of modalpopup panel, it will be "1000X" as default. So please define the z-index of this object to "10020". That means you need set the object to position=absolute.
But you can just put the object into the modalpopup panel without touching z-index. If it is still behind the panel , you can set a panel with position=relative to wrap the object.
Feb 15, 2010 01:53 PM|LINK
Thanks for the repy Vince.
Actually, I did find the resolution. I had to add the following to parameters to the <object> tag
<param name='wmode' value='transparent'>
<param name=menu value='false'>
and the following property to the <embed> tag
That did the trick!
Dec 18, 2010 12:38 PM|LINK
It works perfectly fine for me in IE7,Firefox, Chrome
<object width="160" height="600">
<param name="wmode" value="transparent" />
<param name="movie" value="../Flash SWFs/ArchiSkyScrapperOrange.swf" />
<embed src="../Flash SWFs/ArchiSkyScrapperOrange.swf" width="160" height="600" wmode="transparent" >