View Single Post
  #8  
Old 02-01-2011, 01:02 PM
 
jlrentertainment jlrentertainment is offline
 

Newbie
  
Join Date: Mar 2010
Posts: 6
 

Default Re: jQuery Image Slider

I am having the same problem, I added the jquery 1.4.2 in my meta.tpl as below, but I'm still getting this error.
HTML Code:
{if $config.UA.browser eq 'Safari'} <script type="text/javascript" src="{$SkinDir}/jquery-safari.js"></script> {else} <script type="text/javascript" src="{$SkinDir}/jquery-min-142.js"></script> {/if} <script type="text/javascript" src="{$SkinDir}/jquery-fix.js"></script> <script type="text/javascript" src="{$SkinDir}/ajax.js"></script>

I also changed these back and forth:

I also changed
HTML Code:
{literal} <script type="text/javascript"> $(window).load(function() { $('#slider').nivoSlider(); }); </script>{/literal}
to:
HTML Code:
{literal} <script type="text/javascript"> $(window).load(function() { jQuery('#slider').nivoSlider(); }); </script>{/literal}

I'm so lost with this one. I never imagined that adding a little bit of javascript to X-Cart would be such a headache. If anybody can help me, I would greatly appreciate it.
__________________
X-Cart v4.3.1
Reply With Quote