You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Heping Zhang <ph...@gmail.com> on 2007/05/31 06:32:24 UTC
flash covers dojo dialog
hi, I have a login link which will trigger a dojo dialog appear to let
people login and then I add a flash on Home page. Before adding, all things
is ok. But after that, when I want login, I find that the flash's div is
above the dialog's. The flash covers dojo dialog. Here is the code insert
the flash.
<div id="primarytop">
<p align="center">
<script type="text/javascript">
var f="images/learn.swf";
var f_w = "775";
var f_h = "210";
document.write('<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+' codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0
"'
+' width="'+f_w+'" height="'+f_h+'" id="introduction">'
+'<param name=movie value="'+f+'"/>'
+'<param name=quality value=high/>'
+'<embed src="'+f+'" quality="high" bgcolor="#f60" width="'+f_w+'"
height="'+f_h+'"'
+' name="introduction" ALIGN="" TYPE="application/x-shockwave-flash" '
+'pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'
+'</object>');
</script>
</p>
</div>
I examine the dojo script and find the dialog's z-index is 999. So why this
happen and how to resolve it ?
Re: flash covers dojo dialog
Posted by Heping Zhang <ph...@gmail.com>.
I resolved it. Just add "<param name="wmode" value="opaque" />"