NAME

Mozilla::DOM::NSHTMLElement

Mozilla::DOM::NSHTMLElement is a wrapper around an instance of Mozilla's nsIDOMNSHTMLElement interface. This class inherits from Supports.

CLASS METHODS

$iid = Mozilla::DOM::NSHTMLElement->GetIID()

Pass this to QueryInterface.

METHODS

$offsettop = $nshtmlelement->GetOffsetTop()

$offsetleft = $nshtmlelement->GetOffsetLeft()

$offsetwidth = $nshtmlelement->GetOffsetWidth()

$offsetheight = $nshtmlelement->GetOffsetHeight()

$offsetparent = $nshtmlelement->GetOffsetParent()

$innerhtml = $nshtmlelement->GetInnerHTML()

$nshtmlelement->SetInnerHTML($innerhtml)

    • $innerhtml (string)

$scrolltop = $nshtmlelement->GetScrollTop()

$nshtmlelement->SetScrollTop($scrolltop)

    • $scrolltop ((long) integer)

$scrollleft = $nshtmlelement->GetScrollLeft()

$nshtmlelement->SetScrollLeft($scrollleft)

    • $scrollleft ((long) integer)

$scrollheight = $nshtmlelement->GetScrollHeight()

$scrollwidth = $nshtmlelement->GetScrollWidth()

$clientheight = $nshtmlelement->GetClientHeight()

$clientwidth = $nshtmlelement->GetClientWidth()

$nshtmlelement->ScrollIntoView($top)

    • $top (boolean)

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.