I'm looking for a solution to change the cursor to a magnifying glass upon hovering over a Fancybox image.
Like on Pinterest, when you hover an image (using chrome).
So far I have this which doesn't have cross-browser support.
.picture img { cursor:url(/img/layout/backgrounds/moz-zoom.gif), -moz-zoom-in; }
Is there a better way to approach this problem?
If your mouse does not have a wheel, hold the Windows key and + (plus) or - (minus) to increase or decrease magnification. The Magnifier keeps your settings between each use. For example, if you close the Magnify window at a high magnification level, it will open at that same level the next time that you use it.
Tap the three-dot Menu button found in the top-right corner of the screen. From the share sheet, select the “Markup” option. Now, tap the “+” button and choose the “Magnifier” option. You'll now see a magnifying circle in the middle of the image.
Tap anywhere on the screen, except the keyboard or navigation bar. Drag 2 fingers to move around the screen. Pinch with 2 fingers to adjust zoom. To stop magnification, use your magnification shortcut again.
To create image magnifier glass , you must add attribute data-magnifier-mode="glass" . You can use attribute data-lens-type to set type of magnifier lens . To set circle magnifier lens, use value circle . To change size of the lens, use attribute data-lens-size .
You can use:
.picture img{ cursor: -moz-zoom-in; cursor: -webkit-zoom-in; cursor: zoom-in; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With