fancybox-2

Close fancybox with outside click when overlay is set to null

↘锁芯ラ 提交于 2020-01-24 09:18:05
问题 I am using the fancybox 2.1.4 plugin. It works perfectly, but I have an issue. I want to set the overlay to null and I want to close the fancybox when the user clicks outside(!) the fancybox container. I have tried the following code, but it isn't working, since there's no overlay to click on. $(".fancy_gallery").fancybox.({ loop:false, padding:0, helpers:{ overlay:null, closeClick:true } }); So, how can I force fancybox to close, when I click outside of it? Because, right now I must click on

Fancybox is shown from jQuery UI Dialog: pressing Esc button closes both dialogs [closed]

烂漫一生 提交于 2020-01-17 15:34:33
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I have got the following issue: A jQuery UI dialog is open, then a fancybox popup is open from that dialog. I press Esc button and expect only the fancybox popup to be closed but this closes the jQuery dialog as

Fancybox is shown from jQuery UI Dialog: pressing Esc button closes both dialogs [closed]

拈花ヽ惹草 提交于 2020-01-17 15:34:09
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I have got the following issue: A jQuery UI dialog is open, then a fancybox popup is open from that dialog. I press Esc button and expect only the fancybox popup to be closed but this closes the jQuery dialog as

Fancybox Close button disappearing when clicked

你离开我真会死。 提交于 2020-01-17 03:37:06
问题 I am currently using fancybox version 2.1.5, the problem i am encountering is when I click on the close button "x" on the iframe, the close button "x" disappears rather than closing the iframe. Has anyone else encountered this error while using fancybox? Please visit this page and click "details" and the close button "x" to experience the error. http://www.jerrellkbryant.com/jbcom/portfolio <div><a class="various small_button shadow none" data-fancybox-type="iframe" href="details/clear.html"

Fancybox 2 not working with jQuery 1.7.2

╄→гoц情女王★ 提交于 2020-01-17 03:35:26
问题 I am trying to make any Lightbox type code work and it doesn't seem to be working with jQuery 1.7.2 . I am basically making a form in an iFrame. When someone clicks on a banner, it opens up an optin form in a lightbox and they can signup for the mailing list. I am using Fancybox 2 currently and it looks beautiful when I use: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> But when I revert to: <script type='text/javascript' src=

Why fancybox contents are the same in Wordpress?

依然范特西╮ 提交于 2020-01-17 03:02:58
问题 I want to display some blog posts with fancybox 2. User who wants to learn detail information about post, will click the post thumbnail and the rest of content will open with popup. All the thumbnails open with fancybox but this time the other thumbnails' contents are same with the first post. Here are my codes which I added in my theme file. <a href="#inline1" rel="gallery" class="fancybox"><?php the_post_thumbnail('thumbnail', array('class' => 'aligncenter')); ?></a> <div id="inline1" style

Fancybox overlay not present in older IE

落花浮王杯 提交于 2020-01-16 18:54:43
问题 I've made this test page for use of fancybox in a site and it's OK on all Mac browsers, iOS and non-IE browsers on PC. Latest IE on Windows 8 is also fine. BUT IE8, 7 and 6 on XP do not display the transparent overlay or the popup box shadow on the page, and the links on the page under the popup are still clickable (which I don't want). (Note, the popup images on the test page aren't necessarily the correct final ones - that's OK). Probably I've messed up the js somewhere (aside from being

Close Fancybox 2 width Focus don't work in gallery mode

感情迁移 提交于 2020-01-16 09:10:46
问题 I have a problem with Fancybox 2. When Fancybox is in gallery mode and that I close the Fancybox with the focus (keyboard enter key), it moves to the second image. I can't close my Fancybox with keyboard (except ESC), it works only with mouse. You can test this here http://jsfiddle.net/korigan/qfxZd/2/ $('.fancybox').click(function(){ focusLink = this; }).fancybox({ beforeLoad: function() { $('a, input, button').attr('tabIndex', -1); $('.fancybox-overlay a, .fancybox-overlay button, .fancybox

Close Fancybox 2 width Focus don't work in gallery mode

点点圈 提交于 2020-01-16 09:10:10
问题 I have a problem with Fancybox 2. When Fancybox is in gallery mode and that I close the Fancybox with the focus (keyboard enter key), it moves to the second image. I can't close my Fancybox with keyboard (except ESC), it works only with mouse. You can test this here http://jsfiddle.net/korigan/qfxZd/2/ $('.fancybox').click(function(){ focusLink = this; }).fancybox({ beforeLoad: function() { $('a, input, button').attr('tabIndex', -1); $('.fancybox-overlay a, .fancybox-overlay button, .fancybox

fancybox jquery plugin opening but youtube video still visible in background

天涯浪子 提交于 2020-01-07 08:47:46
问题 I'm using fancybox2 plugin. When I click image slider working but youtube video still visible in background. html code holding embeded videos <iframe width="344" height="229" src="http://www.youtube.com/embed/o6qNGUAciB4" frameborder="0" allowfullscreen=""/> and javascript code <!-- Add mousewheel plugin (this is optional) --> <script type="text/javascript" src="<?=$this->session->CI->config->config['js_path'];?>/jquery.mousewheel-3.0.6.pack.js"></script> <!-- Add fancyBox --> <link rel=