shane wen

Show:

What's happening?

  • Followup: RE: visual position of the node in the web page?

    Haha, It's me again! After rendering a page, I can get all nodes in the DOM tree, by invoking getRootNode in HtmlPanel and visiting all its children nodes recursively. The problem is that I can get the relative position of node in the htmlPanel like <p>, <table>, <th>, <td>, by calling HTMLElementImpl::getOffsetLeft(), ...Top(), ...Height(), ...WIdth(), but I...

    2009-07-03 07:44:51 UTC in Lobo - Java Web Browser

  • visual position of the node in the web page?

    Hi all, Can we get the Dom node's visual position relative to the web page? I wonder if we can do this by using methods like getOffsetLeft(), getOffsetTop(), getOffsetHeight(), getOffsetWidth() in HTMLElementImpl. Thanks!

    2009-07-02 03:40:09 UTC in Lobo - Java Web Browser

About Me

  • 2009-07-02 (4 months ago)
  • 2550659
  • seeskyline (My Site)
  • shane wen

Send me a message