Not sure if this was a typo in your post, or if it''s the root of your
problem...
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
")"...
On 8/4/06, Marco M. Jaeger <mail-yVS5avHIROZWk0Htik3J/w@public.gmane.org>
wrote:>
> 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-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs