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

rotate home page image when refresh

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-05-2007, 03:22 AM
 
aerogear2000 aerogear2000 is offline
 

Senior Member
  
Join Date: Jul 2007
Posts: 143
 

Default rotate home page image when refresh

we have a few banners we want to include in our home page, we want them to rotate when we refresh the browser and one can help

can we put the command in txt_welcome
__________________
Runing on Linux server
X-cart 4.1.8 GOLD
Reply With Quote
  #2  
Old 10-05-2007, 04:57 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: rotate home page image when refresh

You'll need a JavaScript banner script, which will probably need to go both in the head tag of home.tpl and wherever you want the banner to go. I wouldn't try putting it in the text variable, but in the welcome template itself (customer/main/welcome.tpl)
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 01:12 PM.

   

 
X-Cart forums © 2001-2020