[Project_owners] scrollbar

Philip Chee philip.chee at gmail.com
Sun Dec 25 11:57:49 EST 2005


On 25/12/2005 05:47, Eric H. Jung wrote:

> My extension creates a new tab and adds a lot of content to it using 
> DOM appendChild(). After the content is added, however, the vertical
> scrollbar for the tab is still isn't scrollable--it just occupies the
> entire scollbar container. Therefore, the user can only scroll with the
> mousewheel and up/down arrow keys.

> Is there any way to tell the scrollbar to refresh itself so it can be
> usable?

Dunno. How about dispatching a DOM mutation event?

<http://lxr.mozilla.org/seamonkey/source/content/events/src/nsDOMEvent.cpp#58>

Phil
-- 
-==-
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Smile, but sharpen your knives.
* TagZilla 0.059


More information about the Project_owners mailing list