I was already playing a bit with it, as another feature for my jCarouselLite plugin <http://www.gmarwaha.com/jquery/jcarousellite/index.php>. The feature request came from some jQuery user here.
I am going to give it a shot this weekend to see if i can get it done without too much code... If it is more than a few lines, then i will not be incorporating it into jCarouselLite, rather i will make a separate plugin outta it. Lets see if i am able to get something out this weekend. :-) -GTG On 6/29/07, GianCarlo Mingati <[EMAIL PROTECTED]> wrote:
Hi all i was investigating at make something like this: http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm but with jquery. does anybody played with this stuff already? How do i calculate how much the UL has already scrolled left? The gallery should be wrapped whitin a div with overflow hidden (and the dimensions.plugin only works - if i am not wrong - on containers with overflow auto) and even if i say $("div.mydiv ul").css("left", -300) and then check for it's LEFT css property i always get 0 (the starting point) since the UL is relatively positioned with left _and_ top set to 0. It would a handy plugin to make lot of things... but it's too complicated. In flash you have a ._x property wich onenterframe can always tells you how 's the x of something. How do i get the ._x property of an element? Bah.. i'm going to fly my r/c heli for sure it's easier... ;-) Have a nice weekend. OT: this is an onboard video i get a month ago. http://www.gcmingati.net/wordpress/2007/05/13/go-fly/ GC