Home | Accessories & Miscellaneous Goods > Postcard | Christmas Three Cats Greeting Card Made in England Postcard Postcard Cat Cat
Product details
‘;
}
return titleHtml + ” + closeText + ”;
}
function setImageModalWindow(selector) {
jQuery(selector).fancybox({
‘autoScale’ : true,
‘padding’ : ’30’,
‘transitionIn’ : ‘fade’,
‘transitionOut’ : ‘fade’,
‘onStart’ : function() {
undisplayFlash();
},
‘onClosed’ : function() {
displayFlash();
},
‘titlePosition’ : ‘inside’,
‘titleFormat’ : function(title, currentArray, currentIndex, currentOpts) {
return createPopupImageTitle(title, close);
}
});
}
jQuery(document).ready(function() {
var hasProductPhotoHref = false;
if (!hasProductPhotoHref) {
setImageModalWindow(‘#main_img_href’);
}
setImageModalWindow(‘a[rel=”other_group”]’);
setImageModalWindow(‘.popup_image’);
});
function undisplayFlash() {
jQuery(‘.flashdisplay’).css(‘display’, ‘none’);
}
function displayFlash() {
jQuery(‘.flashdisplay’).css(‘display’, ”);
}
//]]>