Hello jQuery, I'm working on a t-shirt design module with jQuery. Check it out here:
http://84.86.134.134/shirt/ No worries, it's my home development server. Nothing bad happenin'. ;) This is how to produce the error in Firefox 3 (and I suspect in other browsers too): 1) Switch to the backside of the shirt by clicking the "Achterkant" tab in the top left. 2) Drag the image on the right onto the t-shirts canvas area (marked with a dotted border). 3) Click on the button "Transformeren" which is found beneath the t- shirt. (this destroys the draggable function and adds resizable function to the image) 4) Try to resize the image. That's when I get an error. This error: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMViewCSS.getComputedStyle]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://84.86.134.134/shirt/js/jquery-1.2.6.js :: anonymous :: line 871" data: no] var computedStyle = defaultView.getComputedStyle( elem, null ); Strangely enough, this does NOT occur when applying the same actions to the frontside of the shirt! What's wrong? I found a bug in the bugtracker that gives the same error message but it had a different cause. It was related to resizable and jquery too though. Help would be much appreciated. Check out the source code to the site or use firebug to see the code. It's all in one page (css/javascript/ xhtml). http://84.86.134.134/shirt/