Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Grey border around flash

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-08-2007, 02:11 AM
 
davej2k davej2k is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 47
 

Default 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?
__________________
www.qcum.co.uk
version: 4.1.8
Reply With Quote
  #2  
Old 10-08-2007, 02:33 AM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default Re: Grey border around flash

Try this solution: SWFObject: Javascript Flash Player detection and embed script
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote
  #3  
Old 10-13-2007, 09:25 PM
 
ozi ozi is offline
 

Member
  
Join Date: Jun 2005
Posts: 23
 

Default 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>
__________________
Version 4.1.8
Reply With Quote
  #4  
Old 10-15-2007, 05:29 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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.
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:46 AM.

   

 
X-Cart forums © 2001-2020