![]() |
Using Javascript & Flash File
I am trying to modify my file:
/customer/main/welcome.tpl How do I use a simple javascript file or even embed a flash file. I have tried using both, both with the JS, I get an error. With the Flash, nothing shows up. Is there a trick or can these just not be used? Or, is there an easier way to use rotating images that are hyperlinked? Thanks Version 4.1.9 PHP 4.3.11 |
Re: Using Javascript & Flash File
Have you tried encasing your script in {literal} {/literal} tags?
|
Re: Using Javascript & Flash File
where exactly are these tags to be used? when i use them, anything after the opening literal tag does not show up on my page. does it go right before the <script> tag? where?
also, what should the path be for flash files? if i have the file in the folder /images, can i still point to it like i do with actual images using the {$ImagesDir} ? thanks and if anyone is using flash out there, please let me know how you're doing it. much thanks. |
Re: Using Javascript & Flash File
|
Re: Using Javascript & Flash File
Quote:
It should be... Code:
{literal} The {$ImagesDir} will call a file from the skin1/images directory, not the images directory in the x-cart root folder. I don't use flash, but here is how x-cart does it.... Code:
<object type="application/x-shockwave-flash" data="{$ImagesDir}/custom/flash_logo.swf" width="341" height="206" id="flash_logo" align="top"> |
All times are GMT -8. The time now is 02:18 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.