Hi jscheuer1,
there's not much I've changed with the code. I specifically followed using a link to magnify a different image:
Code:
<img id="finpic" src="upload/<?php echo $filename; ?>" class="magnify" data-magnifyby="2" name="pic"></span>
<a id="zoomlink" href="#" rel="magnify[finpic]"><img src="./images/zoom.png" width="66" height="66"></a>
the only thing i changed is on line 23 of the jquery.magnifier.js file, i updated the code to:
Code:
var winattrs={x:$window.scrollLeft()-25, y:$window.scrollTop()-115, w:$window.width(), h:$window.height()}
Bookmarks