var scrollTop = $(window).scrollTop();
- Richard

On Mon, Aug 10, 2009 at 9:28 PM, Rick Faircloth <r...@whitestonemedia.com>wrote:

>  I’m trying to position a div that’s used as a modal window 50px from the
> top of the
>
> current viewport, no matter where the page currently is scrolled to.
>
>
>
> I found “getScrollTop();”, but couldn’t make that work.
>
>
>
> I checked out jQuery’s “scrollTop”, but that get the y position or offset
> of a matched
>
> element.
>
>
>
> Suggestions on how to dynamically calculate this?
>
>
>
> Thanks,
>
>
>
> Rick
>
>
>
>
> ----------------------------------------------------------------------------------------------------------------------
>
> *"Ninety percent of the politicians give the other ten percent a bad
> reputation."  - Henry Kissinger*
>
>
>

Reply via email to