To access my template site currently, please click here.
Currently, the first thumbnail on my website is set up to display a gallery of images in FancyBox once clicked, similar to a question asked on StackOverflow that you can view here.
Below is a snippet of the jQuery code I have for this particular thumbnail:
var galPhotos1 = [
{href : 'images/portfolio/smilehealthy_werewolfmtd.jpg','nextEffect' : 'fade', 'prevEffect' : 'fade'},
{href : 'images/portfolio/smilehealthy_applemtd.jpg','nextEffect' : 'fade', 'prevEffect' : 'fade'},
{href : 'images/portfolio/smilehealthy_vampiremtd.jpg','nextEffect' : 'fade', 'prevEffect' : 'fade'},
];
$('a#gallery1').live('click',function(){
$.fancybox(galPhotos1);
});
I am seeking suggestions on how to ensure that when the FancyBox gallery is closed, the thumbnail does not disappear. Any assistance on this matter would be greatly appreciated! =]