Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- });
- }
Add Comment
Please, Sign In to add comment