Offroadcode
unread,Jun 23, 2009, 11:46:27 AM6/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Clientcide
In modalize there is a check on the Browser object of Moo that does
not seem to exist? See line 4 below.
modalShow: function(options){
this.setModalOptions(options);
this.layer().setStyles(this.setModalStyle
(this.modalOptions.modalStyle));
if (Browser.Engine.trident4) this.layer().setStyle
('position','absolute'); // <--- This this line correct or a typo?
this.layer().removeEvents('click').addEvent('click', function(){
this.modalHide(this.modalOptions.hideOnClick);
}.bind(this));
this.bound = this.bound||{};
if (!this.bound.resize && this.modalOptions.updateOnResize) {
this.bound.resize = this.resize.bind(this);
window.addEvent('resize', this.bound.resize);
}
if ($type(this.modalOptions.onModalShow) == "function")
this.modalOptions.onModalShow();
this.togglePopThroughElements(0);
this.layer().setStyle('display','block');
return this;
},
Is there such a thing as Browser.trident4? Firebug says no, wondering
if its a quick way of commenting out/a typo/some hidden feature I
can't find?