Hi, I am unable to get the height of the <body> tag using
Element.getDimensions although I can get the width of the <body> tag
fine. How can I get the height of the <body> tag? I have my simple
code pasted at http://pastie.org/468828. Here is the snippet of code
below as well:

function alertBodyDim() {
       /* $('main') refers to <body id="main"> */
        var dimensions = $('main').getDimensions();


- Paul K
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to