سؤال

I'm using the jquery.expander.js plugin along with fancybox to display summaries of news articles with images, but after activating fancybox by clicking on an image, the original image is hidden.

I've setup an example here: http://tria.com/test.htm

Any idea how to fix this? I've tried to make fancybox stop replacing the image with a placeholder, but haven't been successful.

هل كانت مفيدة؟

المحلول

You should set the attributes class="fancybox" and rel="group" to the anchor <a> tag, not to the <img /> tag. That will solve the issue.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top