[jQuery] problem with modalContent plugin
I'm trying to use the Glyphix modalContent plugin and having some
issues. The examples on the plugin page work fine, but when I try to
use it in my own code -- even a simple example -- I get an error
message:
e.style has no properties jquery.js (line 389)
anonymous jquery.js (line 389)
anonymous jquery.js (line 406)
anonymous jquery.js (line 346)
anonymous jquery-modalConte... (line 42)
anonymous jquery-modalConte... (line 135)
anonymous jquery.js (line 358)
anonymous jquery.js (line 95)
anonymous jquery-modalConte... (line 133)
onclick test.html (line 1)
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. The error
occurs in Firefox 2.0 and IE 7 with the most recent, uncompressed
versions of jQuery and modalContent with no other plugins.
Any ideas? Or, could anybody provide the simplest working example so
that I can try that here and compare with my code?
Thanks,
Jeremy
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/