Javascript Reference
Categories: layer

javascript layer resizeTo( )

@March 15, 2008, 1:22 a.m.
resizeTo( )NN |4| IE n/a Chrome/Safari/DOM n/a  

resizeTo(x, y)

  

Convenience method that adjusts the height and width of the current element to specific pixel sizes. The top and left edges of the element remain fixed, while the bottom and right edges move in response to this method.

 
Parameters
 
  • Width in pixels of the element.
  • Height in pixels of the element.
 
Returned Value

None.


Powered by Linode.