Forums / All Other Contributions/Addons / Image handler 2 runtime error

Image handler 2 runtime error

Locked

Started by jeanmichel on 8 Nov 2006, 5:54 PM · Views: 1,604

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Nov 2006, 5:54 PM
#1
jeanmichel avatar

jeanmichel

New Zenner

Join Date:
Oct 2006
Posts:
43
Plugin Contributions:
0

Image handler 2 runtime error

hi there,

i'm using this extension of firefox called firebug which help debugging web site while developing.

So firebug gives me this error when i click on any thumbnail to open it up in a popup window:

[Exception... "'Permission denied to get property XULElement.columns' when calling
 method: [nsIDOMXULTreeElement::columns]" nsresult: "0x8057001e 
(NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: 
http://www.mahadevidesign.com/popup_image_additional.html?
products_image_large_additional=images/large/BambooTunicAqua_01_LRG.jpg&pic=0&pID=7 :: resize :: line 54" data: no]

Looks like the javascript file is generating that error code.

any ideas, fellows?

8 Nov 2006, 6:02 PM
#2
jeanmichel avatar

jeanmichel

New Zenner

Join Date:
Oct 2006
Posts:
43
Plugin Contributions:
0

Re: Image handler 2 runtime error

The problem is coming from that line(54) in the javascript file:

[CODE]window.resizeTo(frameWidth,frameHeight+i);</CODE>

Im using firefox latest version on a mac.

And the image in the pop up window appears anyway. The only thing is that it appears offset to the popup window. That is lets say the window is 300px width by 500 height, the image is align with the top of the window but offset at 200 px to the right so that i see only the half or so of it.

I need to resize my window in order to see the image entirely. And this manual resizing needs to be done only with images that are higher that wide, ie vertical. Horizontal images dont need no resizing, appear just well in the popup window though the error mentioned above is still generated.

Hope that helps