January 11, 201115 yr i need to postion div with flash inside, ontop of another div can it be done like this, if so, how?
January 11, 201115 yr Sumin like this mate: CSS #wrapper {width: ?; position: relative;} #flash {width: ?; height: ?; z-index: 999; position: absolute; top: ?; left: ?;} /* can also use position values right or bottom, it depends on what works for you. Pretty basic above but gives you an idea. Maybe show us your code and I'll match it up to work with your site.
January 11, 201115 yr Author thanks for that code, sorta worked it however i cant get the white to disapeer i think thats done with z-index???? and wmmode help Edited January 11, 201115 yr by kingy da killa
January 11, 201115 yr thanks for that code, sorta worked it however i cant get the white to disapeer i think thats done with z-index???? and wmmode help Adding this to your flash should work it. <param value="transparent" name="wmode"> Hope I've helped you out G Edited January 11, 201115 yr by Warren Jerzyszek
January 11, 201115 yr Author Adding this to your flash should work it. <param value="transparent" name="wmode"> Hope I've helped you out G <param name="wmode" value="transparent" /> and ive tryed 'transparant' not working it must be something to do with the flash file itself? on one of my website.. transparency works with: <param name="swfversion" value="6.0.65.0" /> what im using at the moment is: <param name="swfversion" value="9.0.45.0" /> could this be the reason? Edited January 11, 201115 yr by kingy da killa
January 11, 201115 yr Would be good to see what the flash file is? it should work if you use it like this <div id="flash"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="690" height="345" id="pres"> <param name="movie" value="/flash/flash.swf" /> <param name="wmode" value="transparent" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="/flash/flash.swf" width="690" height="345"> <param name="wmode" value="transparent" /> <!--<![endif]--> <a rel="nofollow" href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div>
January 11, 201115 yr Author its like this: <div id="applemarket"> <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="80" height="30"> <param name="movie" value="./resources/sa.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="swfversion" value="9.0.45.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you dont want users to see the prompt. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="./resources/sa.swf" width="80" height="30"> <!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="swfversion" value="9.0.45.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object> <script type="text/javascript"> <!-- swfobject.registerObject("FlashID"); //--> </script> </div> thanks for giving it a crack and trying help me your way is alot less code, my way is dreamweavers way of implementing Edited January 11, 201115 yr by kingy da killa
Create an account or sign in to comment