Created
November 16, 2008 00:50
-
-
Save swannodette/25352 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
initResizer: function() | |
{ | |
// place the resizer above the thing | |
var resizer = new ShiftSpace.Element('div', { | |
'id': 'SSConsoleResizer' | |
}); | |
document.body.grab(resizer); | |
// added a comment | |
resizer.makeDraggable({ | |
modifiers: {x:'', y:'bottom'}, | |
invert: true, | |
onStart: function() | |
{ | |
SSAddDragDiv(); | |
}, | |
onComplete: function() | |
{ | |
SSRemoveDragDiv(); | |
} | |
}); | |
// make the console resizeable | |
this.element.makeResizable({ | |
handle: resizer, | |
modifiers: {x:'', y:'height'}, | |
invert: true | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment