Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Error while calling innerHeight


Project:Dimensions
Version:1.2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm using jQuery 1.2.3 and trying to get $(window).innerHeight()
When I do that, I get this error in firefox:

Error: uncaught exception: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://www.ntid.rit.edu/ntidweb/jquery-1.2.3.js :: anonymous :: line 876" data: no]

I figured out that this.is(':visible') is the one causing the problem, but I'm not sure how to fix it.
This is the one located in line 29 of jquery.dimensions.js
If I replace this.is(':visible') with 1 or 0 (just so the if statement works, the function completes successfully.)