[Javascript] Reset the scroll in a DHTML layer.
Hakan
hakan at backbase.com
Mon Jul 18 13:37:05 CDT 2005
Hi Ian,
if I understand your question correctly, setting [divelement].scrollTop
to 0 (zero) should do the trick for you.
Regards,
H
Ian Skinner wrote:
> I have created a simple popup div layer with overflow set to scroll. This works well, but when the layer is closed (display: none;) and then re-opened, the content is at the same place when the layer div was closed
>
> Is there an easy way to reset the "scroll" of this div layer to the top of the content?
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice: This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
More information about the Javascript
mailing list