Hello,
I have a couple of divs that receive updated content on an AJAX based site.
In one of them I have a horizontal bar with numbers that can be clicked on, and depending on the update the bar can be made to scroll to the left so that some numbers are no longer available (they scroll left out of the div and sometimes scroll back in).
The other one holds messages from the server and looks much like a chat window, I use scrollTop so that the last messages at the bottom of the div are always visible.
These actually work fine in both IE and firefox but only so far as they are visible (actually the first one always works fine in IE). But if the panel where these divs are located is hidden (user has hidden it and is working on something else) the scrollTop/scrollLeft are ineffective. If the user then goes back to those divs there would have been no scrolling since hiding them. Of course if an update comes as you are looking at the divs eventhing gets fixed.
Any ideas? Anyone seen this before?
Thank you
Yiannis