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

Flash as a background

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-23-2010, 04:51 AM
  Phoenixone's Avatar 
Phoenixone Phoenixone is offline
 

Advanced Member
  
Join Date: Feb 2010
Location: Portugal
Posts: 38
 

Default 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
__________________
PHP 5.2.11
MYSQL 5.0.45

WESH UK hosting

--- Add-ons -----
X-RMA
X-AOM
X-FancyCategories
X-Feature comparison

BCSE Request a Quote
BCSE Customer Testimonials
BCSE Advanced ratings and reviews
BCSE Customer reward points
BCSE Reward points refferal
BCSE Customer polls

Cart Labs - Tabs
Reply With Quote

The following user thanks Phoenixone for this useful post:
PhilJ (10-23-2010)
  #2  
Old 10-23-2010, 10:23 AM
 
PhilJ PhilJ is offline
 

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

Default 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
__________________
xcartmods.co.uk
Reply With Quote
  #3  
Old 10-24-2010, 12:36 AM
  Phoenixone's Avatar 
Phoenixone Phoenixone is offline
 

Advanced Member
  
Join Date: Feb 2010
Location: Portugal
Posts: 38
 

Default 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
__________________
PHP 5.2.11
MYSQL 5.0.45

WESH UK hosting

--- Add-ons -----
X-RMA
X-AOM
X-FancyCategories
X-Feature comparison

BCSE Request a Quote
BCSE Customer Testimonials
BCSE Advanced ratings and reviews
BCSE Customer reward points
BCSE Reward points refferal
BCSE Customer polls

Cart Labs - Tabs
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 02:43 AM.

   

 
X-Cart forums © 2001-2020