![]() |
Re: jQuery Image Slider
Hey sdfjlsdfsdf,
How was this resolved? I see you have it working on your website :D |
Re: jQuery Image Slider
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:roll: <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> |
Re: jQuery Image Slider
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.. |
Re: jQuery Image Slider
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 |
All times are GMT -8. The time now is 09:59 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.