![]() |
Add flash image on main page
Can anybody help with implementing a flash image on the main page instead of the standard welcome.jpg?
I know I'll have to alter skin1/customer/main/welcome.tpl but after that 'm lost; I've searched the forums but can't get the info to get started :-( The original welcome.tpl code: Code:
{* $Id: welcome.tpl,v 1.28.2.1 2006/07/12 04:51:17 svowl Exp $ *} Here is what I'd like to implement: Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="537" height="262" id="ssp" align="middle"> |
Re: Add flash image on main page
So just paste it in :)
|
Re: Add flash image on main page
:-)
You're pulling my leg right? |
Re: Add flash image on main page
No, I'm serious...just replace the image with the Flash code.
|
Re: Add flash image on main page
Like this?
Code:
{* $Id: welcome.tpl,v 1.28.2.1 2006/07/12 04:51:17 svowl Exp $ *} ... didn't try that ... |
Re: Add flash image on main page
Yep. Make sure the .swf file is in the root directory.
|
Re: Add flash image on main page
:-)
Thanks a million! I made it more difficult then it was; don't ask me what kind of silly coding experiments I performed these last hours ... |
Re: Add flash image on main page
Sometimes with X-Cart the simple solutions appear TOO simple :)
|
Re: Add flash image on main page
Quote:
It seems you're right on the money! :-) |
Re: Add flash image on main page
I used this code and it works great in the php live site, but i cannot get it to work on the static pages. Please refer to the following:
http://www.mailboxixchange.com/store/product.php?productid=18622&cat=0&page=1 But the static page does not show product: http://www.mailboxixchange.com/Curbvault-High-Security-Mailbox-p-18622.html The code is as follows: <div align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="400" id="howworks" align="middle"> <param name="allowScriptAccess" value="http://www.mailboxixchange.com" /> <param name="movie" value="howworks.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <embed src="howworks.swf" quality="high" bgcolor="#ffffff" width="400" height="400" name="howworks" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> Please help as most people are directed to the static pages |
All times are GMT -8. The time now is 04:48 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.