[jQuery] Re: Scroll so that an element is at the bottom of the viewport

2009-11-18 Thread gfranklin
This is a new site with video tutorials that I recently found via boagworld.com podcast. They have a video tutorial that is similar to what you want. http://jqueryfordesigners.com/fixed-floating-elements/ -G On Nov 18, 10:56 am, Rizky wrote: > thx for the reply :) > > doesn't work like i wanted

[jQuery] Re: Scroll so that an element is at the bottom of the viewport

2009-11-18 Thread Rizky
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 wrote: > This should do. > > $.scrollTo('#elem', 1000, { >  over:{ top:0.5 }, >  offset:{ to

Re: [jQuery] Re: Scroll so that an element is at the bottom of the viewport

2009-11-15 Thread Ariel Flesler
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 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 pr

[jQuery] Re: Scroll so that an element is at the bottom of the viewport

2009-11-15 Thread Rizky
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

[jQuery] Re: Scroll so that an element is at the bottom of the viewport

2009-11-02 Thread Ariel Flesler
$.scrollTo('#elem', 1000, { over:{ top:1 }, offset:{ top: -$(window).height() } }); Haven't tried it, but this should do. If it doesn't, you could just calculate the position using simple math. -- Ariel Flesler On Nov 2, 8:28 am, Deniz Dogan wrote: > I'm looking for a JQuery plugin like scr