Skip to content
Advertisement

Fancybox hyperlink on zoom image

I used to have an hyperlink that is anchored to an image. But I now when I click the image it needs to zoom in first so I used Fancy box, then the zoom in image must have the link.

Is it possible? Here is my code below

JavaScript

Advertisement

Answer

For future reference, it is possible but you need to create a form for your fancy box and not a direct image.

JavaScript
Advertisement