In that first line you have a closing paren ")" at the end, and it's not needed. And, in the alert right after that you are missing the closing paren ")"...
Hello,
I'm totally lost – please see the code below – while in Firefox the value is fine, I get a strange value in IE
// this doesn't work in IE but it works in Firefox
this.iContainerOffset = Element.getHeight(this.oHeader)+Element.getHeight(this.oFooter)+this._getOffsetDim($('oBody'))['height']+this._getOffsetDim($('iContainer'))['height']);
alert('iContainerOffset 1: ' + this.iContainerOffset;
// this works in IE and Firefox
var a,b,c,d;
a= Element.getHeight(this.oHeader);
b= Element.getHeight(this.oFooter);
c= this._getOffsetDim($('oBody'))['height'];
d= this._getOffsetDim($('iContainer'))['height'];
this.iContainerOffset = a+b+c+d;
alert('iContainerOffset: ' + this.iContainerOffset);
Could anybody please tell me what's wrong.
Thank you
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs