ll55 ll55 - 4 months ago 33
CSS Question

image magnifier - zoom image on hover and pan image on mouse move

I found a good example here but I had no idea how to use the code.

First, I tried the code in Blogger, nothing showed.

Second, I tried the code in jsfiddle, nothing showed too.

Third, I exported the code and pasted it in Blogger, nothing showed. >:(

The code only works when I use the exported

and the online sample.

Does Blogger not support the code or do I use it wrongly?


Have you remembered to include jquery? This code depends on the Jquery javascript framework.

Simply include the jquery script above the script like so:

<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="js/yourScriptHere.js"></script>