2 divs, both has same width height, the first div has background
image,
second contains flash,and use margin-top:-150px or position:absolute
to
make second div cover the first one. (please see the code below)
1.5 or previous version 2 div are overlapping, but in 2.1 version the
second div always hold its own position, i need the first div's
background
image,and also when flash is onloading, the page can show
something,not
just empty
code:
<script src="swfobject.js"></script>
<div style="width:200px;height:200px;background:green;"></div>
<div id="test" style="margin-top:-150px; width:200px;height:200px"></
div>
<script>
swfobject.embedSWF("adtop_cn.swf", "test", "200", "200",
"6.0.0",false);
</script>
Thanks very much
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---