PDA

View Full Version : Dom scrollbar to keep position on refresh



Mistrel
06-05-2006, 08:36 AM
I'm using the DOM Drag & Drop script to create a custom scrollbar on a php chat window. The problem I'm having is that the scroll bar resets every time the update script refreshes to load new messages from the server.

http://dynamicdrive.com/dynamicindex11/domdrag/

I've been trying to edit a script from Patrick Foley's blog to work with the scrollbar but I can't get it to work.

http://patrickfoley.com/2005/01/21/scroll-saver/

Any help with this would be appreciated.


Edit:
I have trouble working the dom scroller script into my page. I'm now using youngpup's modified DOM script however the scrollbar resetting on refresh is still an issue.
http://www.youngpup.net/_projectDirectories/domdrag/demos/ex4/index.html

I have another post about the same control here:
http://www.dynamicdrive.com/forums/showthread.php?p=38802#post38802

Mistrel
06-14-2006, 01:04 AM
I still need help with this one.

Thanks.