[Javascript] Reset the scroll in a DHTML layer.

Ian Skinner ian.skinner at bloodsource.org
Mon Jul 18 13:03:36 CDT 2005


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. 





More information about the Javascript mailing list