Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Reset the scroll in a DHTML layer.
- From: hakan at backbase.com (Hakan)
- Subject: [Javascript] Reset the scroll in a DHTML layer.
- Date: Mon Jul 18 13:37:11 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@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript > >
- References:
- [Javascript] Reset the scroll in a DHTML layer.
- From: Ian Skinner
- [Javascript] Reset the scroll in a DHTML layer.
- Prev by Date: [Javascript] Reset the scroll in a DHTML layer.
- Next by Date: [Javascript] An image loader nearly working except for IE
- Previous by thread: [Javascript] Reset the scroll in a DHTML layer.
- Next by thread: [Javascript] Reset the scroll in a DHTML layer.
- Index(es):