Monday, November 2, 2009

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

On Mon, Nov 2, 2009 at 11:28, Deniz Dogan <deniz.a.m.dogan@gmail.com> wrote:
> I'm looking for a JQuery plugin like scrollTo but which lets me scroll
> the viewport so that the bottom of an element is at the bottom of the
> viewport.
>
> Is this possible with scrollTo? If so, how? Otherwise, is there any
> other plugin I can use?

Hi there.
What about using some "basic" CSS? :)

#targetElementId {
position: fixed;
bottom: 0;
}

--
Massimo Lombardo
Linux user #437712

No comments: