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

Header Rollover

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-14-2005, 07:29 AM
 
alaa alaa is offline
 

Newbie
  
Join Date: Aug 2005
Posts: 8
 

Default Header Rollover

Hi

i would like to have a rollover image for some menu links in my header template. For example when a user points the mouse on the link HOME, a rollover image appears. I made the header but when i paste the code in header.pl it doesn't work. I have some javascript, i need to load some images in the <body> tag too.

How do i solve this?

thanks in advance
__________________
--
Alaa H.
X-Cart Version 4.1.2, Linux
Reply With Quote
  #2  
Old 12-14-2005, 07:34 AM
 
balinor balinor is offline
 

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

Default

You need to put literal tags around your javascript:

{literal}script goes here{/literal}

Also, you'll need to add whatever code needs to go in the <head> and <body> tags in customer/home.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 03:28 PM.

   

 
X-Cart forums © 2001-2020