View Single Post
  #4  
Old 06-01-2012, 10:01 AM
 
VWD VWD is offline
 

Member
  
Join Date: Oct 2004
Location: Sweden
Posts: 25
 

Default Re: Flexslider X-Cart 4.4.5 Intergration

Hello Mike, I tried removing it, but no luck.
Added the following code to <head> in home.tpl
<link rel="stylesheet" type="text/css" href="{$AltSkinDir}/custom/css/flexslider.css" />
<script src="{$AltSkinDir}/custom/js/jquery.flexslider-min.js"></script>.
Also added and removed the load function script:
<script type="text/javascript" charset="utf-8">
$(window).load(function() {
$('.flexslider').flexslider();
});
</script>

Added the following to welcome.tpl:
<div class="flexslider">
<ul class="slides">
<li>
<img src="{$AltImagesDir}/custom/pic1.jpg" alt="" title=""/>
</li>
<li>
<img src="{$AltImagesDir}/custom/pic2.jpg" alt="" title=""/>
</li>
<li>
<img src="{$AltImagesDir}/custom/pic3.jpg" alt="" title=""/>
</li>
</ul>
</div>
Pictures and css loading but not the flexslider.js as far as I can see. I╢m probably missing something obvious, any ideas..
Thanks
__________________
X-Cart Version: 4.4.5 GOLD
Reply With Quote