| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
jQuery Image Slider | ||||
![]() |
|
|||
|
|
Thread Tools | Search this Thread |
|
#11
|
|||||||
|
|||||||
|
Hey sdfjlsdfsdf,
How was this resolved? I see you have it working on your website
__________________
X-Cart 4.4.2 |
|||||||
|
#12
|
|||||||
|
|||||||
|
I have a similar problem with the nivo slider.
These scripts work when placed before the </body> tag. but it breaks the shadow box and other scripts?? If i put it inside the <head> the nivo slider does not work. the everything else works fine?? Any help would be well appreciated as this is my first time using x-cart and smarty. Regards Elton <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> <script src="{$SkinDir}/customer/javascript/jquery.nivo.slider.pack.js" type="text/javascript"></script> <script src="{$SkinDir}/customer/javascript/sliderConfig.js" type="text/javascript"></script> |
|||||||
|
#13
|
|||||||
|
|||||||
|
I'm also having trouble loading an external javascript file. I do know the jquery is loaded by default with x-cart so you don't need to reference it again.
PHP Code:
should be PHP Code:
Where these two lines go is the key question. I can't figure that out. I'd like to load them with all other JavaScript files as one JavaScript file. Maybe someone else can help..
__________________
Version 4.4.2 |
|||||||
|
#14
|
|||||||
|
|||||||
|
Just came across another thread (http://forum.x-cart.com/showthread.php?t=60723&highlight=javascript)
You need to add the references to the external JavaScript files in the file below to ensure your JavaScript file is loaded with all others skin/common_files/customer/service_js.tpl
__________________
Version 4.4.2 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||