Update: overflow:auto in Mozilla

Posted by m6w6 on 5th August 2004 in Mike's sudden inspirations: WEB

If you want the page to scroll when the scrolling-enabled DIV has nothing to scroll you’ll have to wrap the contents of the scrollMe function into the following if statement:

    function scrollMe(event)
    {
        if (event.currentTarget.scrollHeight >
            event.currentTarget.offsetHeight) {
            // ...
        }
    }

Have fun!