Note that there are some explanatory texts on larger screens.

plurals
  1. POjqzoom error: Node was not found
    primarykey
    data
    text
    <p>Trying to track down an bad image replacement error. An image of a different size pops in the original img source.</p> <p>Unfortunately, on my PC, regardless of browser (Firefox, chrome, safari) the error is 'silent' and doesn't cause the problem.</p> <p>However, tracking it with firebug and chrome tools, seems to show that it is because of a 'Node was not found' error in Firefox (chrome: “NOT_FOUND_ERR: DOM Exception 8” )</p> <p>This should be all standard code from jigoshop, a WordPress plug-in. It could be because whoever put the images in the first place, didn't understand the relationship of the image sizes.</p> <p>In any case, it is breaking here:</p> <pre><code>document.body.removeChild(this.node); </code></pre> <p>About 13 lines down here (line 653 in jquery.jqzoom-core.js)</p> <pre><code>this.fetchdata = function () { var image = $(this.node); var scale = {}; this.node.style.display = 'block'; $obj.w = image.width(); $obj.h = image.height(); $obj.pos = image.offset(); $obj.pos.l = image.offset().left; $obj.pos.t = image.offset().top; $obj.pos.r = $obj.w + $obj.pos.l; $obj.pos.b = $obj.h + $obj.pos.t; scale.x = ($obj.w / smallimage.w); scale.y = ($obj.h / smallimage.h); el.scale = scale; document.body.removeChild(this.node); $('.zoomWrapperImage', el).empty().append(this.node); //setting lens dimensions; lens.setdimensions(); }; </code></pre> <p>the node it can't find is: , which is found after loaded html here:</p> <pre><code>&lt;div class="zoomWrapperImage" style="width: 100%; height: 496px;"&gt; &lt;img style="position: absolute; border: 0px none; display: block; left: -5000px; top: 0px;" src="http://xyz.com/shop/wp-content/uploads/2011/10/go-291x496.jpg"&gt;consoleName="jQuery.data"consoleKind="Element"consoleFramework="jQueryUI-1"consoleId="73" &lt;/div&gt; </code></pre> <p>I have delved into jquery too much. So, 2 questions:</p> <ol> <li>How to fix this exact problem?</li> <li>What is a general process of fixing these type of errors?</li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload