> Basically, it seems that my code calls $('#a_div_id').modalContent()
> which calls $(window).height() and that ends up trying to reference
> window.style in a swap function and window.style is null.
Maybe you're missing an include for the dimensions plugin? The dimensions.js
plugin allows you to get the .height() of window. Without that loaded,
.height() is just an alias for .css("height") which expects the jQuery
object contents to be a DOM element with a .style property.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/