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)
-   -   Jquery Slider Problem (https://forum.x-cart.com/showthread.php?t=57953)

TToshi 02-07-2011 03:08 PM

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?

cflsystems 02-07-2011 05:16 PM

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

TToshi 02-08-2011 12:38 PM

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....


All times are GMT -8. The time now is 04:30 PM.

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