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

Rotating Banner in Welcome area

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-18-2010, 08:59 AM
 
Group Imaging Group Imaging is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 38
 

Default 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?
__________________
Brad Thompson
Group Imaging
X-Cart Gold Version 4.1.8
Reply With Quote
  #2  
Old 01-18-2010, 10:18 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default 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
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #3  
Old 01-18-2010, 07:35 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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?
__________________
xcart 5.1.2
Reply With Quote
  #4  
Old 01-18-2010, 11:15 PM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default 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?
__________________
4.6.1 Platinum


Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:12 PM.

   

 
X-Cart forums © 2001-2020