![]() |
Grey border around flash
I've inserted a flash banner into the head.tpl. Does anyone know how to remove the grey border and the 'Click to activate and use this control' message appearing when a user hovers over the area?
|
Re: Grey border around flash
Try this solution: SWFObject: Javascript Flash Player detection and embed script
|
Re: Grey border around flash - This works
Create file: ieupdate.js
copy the below code in to "ieupdate.js" ----------------- theObjects = document.getElementsByTagName("object"); for (var i = 0; i < theObjects.length; i++) { theObjects[i].outerHTML = theObjects[i].outerHTML; } -------------- Just below the last <object></object> in your HTML page, insert the following javascript: <script type="text/javascript" src="ieupdate.js"></script> Ex: <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"> <param name=quality value=high> <embed src="file.swf" quality=high pluginspage="" type="application/x-shockwave-flash" "> </embed> </object> <script type="text/javascript" src="ieupdate.js"></script> |
Re: Grey border around flash
Here's another method - http://www.bobbyvandersluis.com/ufo/
And there's a Smarty plugin - http://smarty.incutio.com/?page=FlashWithoutIeBug But SWFObject is easiest. |
All times are GMT -8. The time now is 02:34 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.