Jump to content

Looking for a script


DimitriDV

Recommended Posts

nice script but doesn't work

here's my code:

 

<button class="prev"><<</button>
<button class="next">>></button>
      
<div class="carousel"> 
<a href="#" class="prev">&nbsp</a> 
  <div class="jCarouselLite">
    <ul>
        <li><img src="images/stories/1.jpg" /></li>
        <li><img src="images/stories/2.jpg" /></li>
        <li><img src="images/stories/3.jpg" /></li>
        <li><img src="images/stories/4.jpg" /></li>
        <li><img src="images/stories/5.jpg" /></li>
        <li><img src="images/stories/6.jpg" /></li>
    </ul>
   <script type="text/javascript"> 
      $(".carousel").jCarouselLite({
       *      btnNext: ".next",
       *      btnPrev: ".prev"
       * });
   </script>
  </div> 
<button class="next">>></button> 
<div class="clear"></div>   
</div>

 

 

can someone help me?

I also added the js in head section:

<script type="text/javascript" src="http://www.certipost.be/retail/js/jquery.js"></script>
<script type="text/javascript" src="http://www.certipost.be/retail/js/jcarousellite_1.0.1.js"></script>
<script type="text/javascript" src="http://www.certipost.be/retail/js/jcarousellite_1.0.1.min.js"></script>
<script type="text/javascript" src="http://www.certipost.be/retail/js/jcarousellite_1.0.1.pack.js"></script>

Link to comment
Share on other sites

 

 

 

can someone help me?

I also added the js in head section:

<script type="text/javascript" src="http://www.certipost.be/retail/js/jcarousellite_1.0.1.js"></script>
<script type="text/javascript" src="http://www.certipost.be/retail/js/jcarousellite_1.0.1.min.js"></script>
<script type="text/javascript" src="http://www.certipost.be/retail/js/jcarousellite_1.0.1.pack.js"></script>

you only need one of this js files it's the same file but compressed(or not compressed) differently.

 

What are the errors you recieve?

Link to comment
Share on other sites

<button class="prev"><<</button>      
<button class="next">>></button>
  
<div class="anyClass">
<ul>
<li><img src="1.jpg" alt="1" /></li>
<li><img src="2.jpg" alt="2" /></li>
<li><img src="3.jpg" alt="3" /></li>
<li><img src=4.jpg" alt="4" /></li>
<li><img src="5.jpg" alt="5" /></li>
<li><img src="6.jpg" alt="6" /></li>
</ul>
<script type="text/javascript"> 
$(function() {
    $(".anyClass").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev"
    });
});
</div>

 

script does not work, images are vertical underneath each other, no horizontal scrollbar

i'm getting crazy

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.