Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fancybox-Plugin
#7
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:

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 (?)
Reply


Messages In This Thread
Fancybox-Plugin - by stwneu - 2015-07-23, 23:10:42
RE: Fancybox-Plugin - by datiswous - 2015-07-29, 09:01:34
RE: Fancybox-Plugin - by Oleg06 - 2015-07-29, 16:43:54
RE: Fancybox-Plugin - by datiswous - 2015-07-30, 12:00:47
RE: Fancybox-Plugin - by Oleg06 - 2015-07-30, 15:22:41
RE: Fancybox-Plugin - by datiswous - 2015-07-31, 00:23:54
RE: Fancybox-Plugin - by datiswous - 2015-07-31, 01:12:17
RE: Fancybox-Plugin - by Oleg06 - 2015-07-31, 02:19:49
RE: Fancybox-Plugin - by datiswous - 2015-07-31, 02:48:16
RE: Fancybox-Plugin - by shawn_a - 2015-07-31, 06:27:21



Users browsing this thread: 1 Guest(s)