undoClipping :: Element

undoClipping(element) -> HTMLElement

 

Sets element’s CSS overflow property back to the value it had before makeClipping() was applied. Returns element.

 

Example

 

<div id="framer">

  <img src="/assets/2007/1/14/chairs.jpg" alt="example" />

</div>

 

$('framer').undoClipping();

// -> HTMLElement (and sets the CSS overflow property to its original value).

 

See also

 

Element: makeClipping


Prototype API 1.5.0 - prototypejs.org