X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Flash as a background (https://forum.x-cart.com/showthread.php?t=56161)

Phoenixone 10-23-2010 04:51 AM

Flash as a background
 
Hi guys im trying to set the background property of a table to use a flash.swf file

how would i do it?

Code:

<table cellpadding="0" cellspacing="0" width="100%" bgcolor="#320c0c" background="{$ImagesDir}/newheader.png">

please help

PhilJ 10-23-2010 10:23 AM

Re: Flash as a background
 
Not something I would recommend, pretty sure it can't be done in CSS alone.
You can try these links...
http://www.kirupa.com/forum/showthread.php?t=277976
http://www.andrewsellick.com/95/flash-movies-as-backgrounds

Phoenixone 10-24-2010 12:36 AM

Re: Flash as a background
 
why would you not recommend it? any specific reason?

here is what i did:
in the main css add the following:

Code:

.flashhead  {
position: fixed;
width: 100%;
height: 160px;
background-color:#660000;
}


then in your head.tpl file add this div tag:
Code:

<div class="flashhead">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH=1400 HEIGHT=160>
<PARAM NAME=movie VALUE="{$ImagesDir}/your flash file">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=scale VALUE=noscale>
<EMBED src={$ImagesDir}/your flash file menu=false quality=high wmode=transparent scale=noscale WIDTH=1400 HEIGHT=160 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
</div>


works for me


All times are GMT -8. The time now is 11:45 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.