1) Script Title: DHTML Window widget (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe Question: If scrolling is enabled on a window instance (i.e. "scrolling=1"), is there a way to force the scroll bars to the left/top as the window instantiates?
For example, a user clicks on a link in the general page and instantiates a window with this widget. By default, the window has the scroll bars at the top and leftmost positions. The user can scroll to the bottom of the window (only concerned with Vertical scrolling here), where they'll find a "close" button that invokes the "close()" method of the widget. The window instance then closes, with the scroll bars left where they were last positioned.
If the user then clicks on a 2nd link that instantiates a different window (i.e. with different, *shorter* vertical content), the window opens, but the scroll bar is left in the same position as the previous window instance (ie. at the bottom, with only the lower content visible - in this case, just a "close" button). The user might not realize they have to scroll back up to get the other content.
Is there a setting to force the newly opened window instance to reposition it's scroll bars to the top? And yes, the "close" button I mention needs to be at the bottom of the content.
Thanks & Regards,
mag3




Reply With Quote


Bookmarks