ext Boris Zbarsky wrote:
Antônio Gomes wrote:
Is the site setting overflow:hidden or something?
Yes, it is.
That means no scrolling, more or less. Or at least no scrolling on
the root.
Is it a problem ? Is there any workaround on it ?
Depends on what you're trying to do, exactly. Since I have no idea
what that is...
After the boris' tip I took another path , and got C++ based panning
component (acrobat-like) Thanks ;)
In short terms, it does as follows: after receiving a mouse_click event
I succeed recovering the html page's 'body' element, and then I can
scroll it using the SetScrollTop/Left methods to pan though the page.
(...)
nsHtmlElement->SetScrollTop(valeuY);
nsHtmlElement->SetScrollLeft(valueX);
Altough, I've got it working properly for almost all tested webpages,
when I tried on for framed ones it does not work as expected. When my
original event target is a 'html frame', the panning is done only inside
the frame, but I'd like to pan the parent's (enclosing) page instead.
How could I know if my original target is a HTML frame ? And then, how
could I get the its parent ?
--Antonio Gomes
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout