views:

168

answers:

1

Hi,

It is possible to scroll by fixed number of child items that will be specified on configuration for jquery-just-another-carousel.

Like when we click Next or Previous link then the carousel will be scrolled by 2 child items.

http://intrepidstudios.com/projects/jquery-just-another-carousel/documentation.aspx

A: 

From a cursory look at the source code, it appears that the plugin is only meant to scroll one child at a time. It would take modification of the source code to do what you require. So to save us both a lot of work, have you looked at alternatives?


Update: Ok making the modification to scroll just 1/2 the view port window was much easier! I posted a demo for you here. But instead of making the modification permanent, I decided to make it an option - these are the settings I used with the new option "moveHalfViewPortWidth" set to true:

 var jac2 = {
  enableMouse : false,
  childSizeFixed : false,
  moveHalfViewPortWidth : true 
 };

 // Setup galleries
 $(".jac2").jac(jac2);

download the modified plugin from here.

fudgey
I also tried with jCarousel but the problem is that it require fixed width for child items. And it is not working somehow on Chrome. Width for each child items on my Carousel will be different. I'm not sure about "Anything Slider", either it works or not. But so far jquery-just-another-carousel is the one which is working as per my requirement except scrolling by fixed number of child items.
Prakash
can you help me to modify the javascript code so that I am able to slide only the half of viewport width? JS File: http://intrepidstudios.com/lib/js/100/jquery.plugins/jquery.jac.js
Prakash
@Prakash: Ok, I've updated my answer. I hope that is what you wanted!
fudgey
awesome. and it is working perfectly. Thanks for the help.
Prakash