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)
-   -   Rotating Banner in Welcome area (https://forum.x-cart.com/showthread.php?t=51834)

Group Imaging 01-18-2010 08:59 AM

Rotating Banner in Welcome area
 
I have been trying for a while to get a rotating banner working in the welcome area of our cart. I have tried a couple different scripts (both flash) and neither work. The farthest I have gotten on either is it showing up a black box the correct size but not displaying any of the images. I know the script works as I can run it from the same folder as long as it's outside of the cart.

I have added the scripts and the js links in the head.tpl.

Anyone else ever have this problem?

gizmo 01-18-2010 10:18 AM

Re: Rotating Banner in Welcome area
 
The cart screen uses if statement and else, knocks out a few things when On cart page, as far as I know, you have if statements included within your head, this will have a knock on effect of your script. So you have to make sure it's included in the right place, For example

Firstly I would make sure your script is actually working, by putting it somewhere else what I do is this.
Firstly I usejquerry scripts

within customer/home.tpl

I do this: so that my scripts are called, just a simple include file

<head>{include file="abeez_sources/sky_blue/templates/jquerry_all.tpl"}</head>

Any javascript you have to include must have {Literal} script {/Literal} included.

There are many good scripts out there on the web, namely
dynamicdrive

ARW VISIONS 01-18-2010 07:35 PM

Re: Rotating Banner in Welcome area
 
where are you putting you images?

what path are you using to display the images?

how are you displaying the flash?

Learner 01-18-2010 11:15 PM

Re: Rotating Banner in Welcome area
 
Quote:

Originally Posted by Group Imaging
I have been trying for a while to get a rotating banner working in the welcome area of our cart. I have tried a couple different scripts (both flash) and neither work. The farthest I have gotten on either is it showing up a black box the correct size but not displaying any of the images. I know the script works as I can run it from the same folder as long as it's outside of the cart.

I have added the scripts and the js links in the head.tpl.

Anyone else ever have this problem?


Can you post your code here?


All times are GMT -8. The time now is 02:57 PM.

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