Created
April 3, 2009 13:25
-
-
Save davglass/89747 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ((typeof res != "undefined" || res != null) && res instanceof YAHOO.util.Resize) { | |
//Set the wrap element on the resize back to zIndex 0 | |
Dom.setStyle(res.getWrapEl(), 'zIndex', 0); | |
res.destroy(); | |
} | |
res = new YAHOO.util.Resize(el, { | |
handles: ['br', 'bl', 'tr', 'tl'], | |
knobHandles: true, | |
height: '30px', | |
width: '30px', | |
proxy: true, | |
draggable: true, | |
animate: true, | |
animateDuration: .75, | |
animateEasing: YAHOO.util.Easing.backBoth | |
}); | |
//Set the wrap element on the resize to zIndex 1 to bring it to the top | |
Dom.setStyle(res.getWrapEl(), 'zIndex', 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment