Простая карусель


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $("ul.disc_views li").click(function(){
  2. ind=$("ul.disc_views li").index(this);
  3. $("ul.disc_views li").removeClass('act');
  4. $("ul.disc_views li").eq(ind).addClass('act');
  5.  
  6. sroll=595*ind;
  7.  
  8. $(".scroll_views table").animate({"right":sroll},1000);
  9. });

URL: http://zoar.tv

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.