I don’t know why it fails but when you click a link that is an image, fancybox fails showing a message like, “The requested content cannot be loaded…”. I’ve checked the href( is set dynamically) and its the correct path. I initialized the fancybox like so $(“a.fancybox”).fancybox(), which is basically all links that is of type fancybox. It use to work but for some reason it doesn’t work anymore. Relative nor direct path works. Any clue?
Share
If I am not mistaken, the
fancybox()plugin uses the classfancybox– what might be happening is that you are conflicting that class name. try naming the classa_fancyboxand see if things change.