Brandon Aaron wrote:
> You should use the dimensions plugin [1] to handle this since it
> provides a cross browser method of getting the innerHeight.
> 
> ...
>     y = $(window).innerHeight();
> ...
> 
> [1]: 
> http://jquery.com/dev/svn/trunk/plugins/dimensions/dimensions.js?format=txt

And you should also use style sheets to set the height of an element to 
make it reliable in all browsers:

$(#myIFrame).css("height", y + "px");


-- Klaus


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to