thx for the reply :) doesn't work like i wanted to tho. but i'm gonna tweak it some more. thx for the tips, i'll post the code and example later once i got it working.
On Nov 16, 12:15 am, Ariel Flesler <afles...@gmail.com> wrote: > This should do. > > $.scrollTo('#elem', 1000, { > over:{ top:0.5 }, > offset:{ top: -$(window).height() / 2 } > > }); > On Sun, Nov 15, 2009 at 10:35 AM, Rizky <br4inwas...@gmail.com> wrote: > > hi ariel, > > > great plugin here, i'm using it for my next project (if the marketing > > guys could win the pitch). currently it's still a prototype. > > > i have a question as well. what should i do if i want to scroll to an > > element and make it appear in the center of the viewport? all elements > > are absolutely positioned. > > > thx for the help. > > -- > Ariel Fleslerhttp://flesler.blogspot.com