2015-07-31, 01:12:17
Btw. the function 'hideOnContentClick': true doesn't actually seam to work. Maybe it uses the in core Fancybox version which has default settings which overrides the plugin settings?
Then following code should be enough:
Or maybe even less (?)
Then following code should be enough:
Code:
jQuery(document).ready(function() {
$('a.fb').fancybox();
$('a[rel]').fancybox();
$('a.inline').fancybox();
$("a.iframe").fancybox({
'autoScale' : true,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
});
Or maybe even less (?)