On Wednesday 26 April 2006 06:44, Joe Hudson wrote:
> If no one has an answer to this, would anybody be able to tell me how to do
> the following:
>
> - how to get the height of a block element

var dims = Element.getDimensions(element);
dims.height;

> - how to set the height of a block element

Element.setStyle(element, {height: 123});

-Jeremy

Attachment: pgpFmXclqd02f.pgp
Description: PGP signature

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to