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

Jquery Slider Problem

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-07-2011, 03:08 PM
 
TToshi TToshi is offline
 

Member
  
Join Date: Oct 2007
Location: Los Angeles
Posts: 11
 

Default Jquery Slider Problem

Hi,
I want to add java slider for my home page.

I added these below to customer/home.tpl

<link rel="stylesheet" href="{$SkinDir}/slide/slide.css" type="text/css"/>
<script type="text/javascript" src="{$SkinDir}/slide/js/slide.js"></script>
<script type="text/javascript" src="{$SkinDir}/slide/js/jquery.js"></script>

html code to welcome.tpl

However, js is not working.

When I test it in other page it's working fine.

I also test it to put all js files to one folder and locate not inside of skin folder.
it's working fine.

Do you have any idea?
__________________
Satomi

X-Cart Gold 4.1.9
Reply With Quote
  #2  
Old 02-07-2011, 05:16 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Jquery Slider Problem

Where did you add them? These lines must be included in <head> section. Also make sure you have "slide" directory in "skin" directory
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 02-08-2011, 12:38 PM
 
TToshi TToshi is offline
 

Member
  
Join Date: Oct 2007
Location: Los Angeles
Posts: 11
 

Default Re: Jquery Slider Problem

Hi Steve,
Thank you for your reply.

I added them in home.tpl between <head></head>
I also made slide directory in "skin".
It seems .css is working but not JS.

I also test with other directory.
I made folder called "satomi" and added all .js files there.
It works fine.

I don't know why?

Thanks!

Satomi....
__________________
Satomi

X-Cart Gold 4.1.9
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 05:16 PM.

   

 
X-Cart forums © 2001-2020