i have the following designs (uploaded files better than words); using
jcarousel lite, i'm trying to achieve the gridded design and the carousel
motion (left/right)
i tried modifying the math, but it still calculates the length incorrectly
and when i number the li to make sure that 1-6, 7-12, and 13-18 are the ones
displayed, i also noted that it wasn't pulling them in that order.
i would like to keep each li separate instead of nesting another ordered
list within the li. is there a way to achieve this without having to go with
this "hack". the max number li for the image carouse is 18, and 9 for the li
with content
my markup is:
ol
li (each list containing the image/content)
and this is portion of the jcarousel js that i modified:
var liSize = o.vertical ? (height(li)*3) : (width(li)); // Full li
size(incl margin)-Used for animation
var olSize = (liSize * itemLength)/3; // size of
full ol(total length, not just for the visible items)
var divSize = (liSize * v); // size of
entire div(total length for just the visible items)
animCss == "left" ? { left: -(curr*(liSize/2)) } : { top: -(curr*liSize) } ,
o.speed, o.easing,
thanks
http://www.nabble.com/file/p20198422/Picture%2B2.png Picture+2.png
http://www.nabble.com/file/p20198422/Picture%2B3.png Picture+3.png
--
View this message in context:
http://www.nabble.com/jcarousel-lite%3A-getting-it-to-work-with-a-grided-li-display-tp20198422s27240p20198422.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.