*/
/*
- Hidable "fullscreen" Window for Slideshow
+ Hideable "fullscreen" Window for Slideshow
*/
var showWindow = new Class({
this.options.onClick()
}.bind(this)).injectInside(this.options.container);
- this.position();
-
window.addEvent('resize', this.position.bind(this));
window.addEvent('scroll', this.position.bind(this));
},
'overflow-x': 'hidden',
'overflow-y': 'hidden',
});
+ this.position();
this.container.setStyle('display', 'block');
},
}
document.body.setStyles(this.bodystyles);
this.container.setStyle('display', 'none');
- }
+ },
+
+ grab: function(obj){
+ return this.container.grab(obj);
+ },
})
showWindow.implement(new Options);