开发者

Jquery Fancybox fails to show image

I don't know why it fails bu开发者_Go百科t 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?


If I am not mistaken, the fancybox() plugin uses the class fancybox - what might be happening is that you are conflicting that class name. try naming the class a_fancybox and see if things change.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜