fancybox

jQuery + Fancybox trigger error on Internet Explorer 8

放肆的年华 提交于 2019-12-14 01:47:47
问题 I have this jQuery code on my page that works fine in Chrome, but I get and error on Internet Explorer 8 in the trigger('click') line $('#btnd16').click(function(e){ var iiid = $('#midet').val(); $('#d16_midethistorial_id').val(iiid); //sumamos por ajax var $mivalor = $('#d16_midethistorial_id').val() var $url = $('input#miruta').val(); $.post($url, { midethistorial_id: $mivalor }, function(data) { $("#nirefancy").fancybox({ 'width' : '90%', 'height' : '90%', 'transitionIn' : 'elastic',

Outdated Version of jQuery in Wordpress

南笙酒味 提交于 2019-12-13 23:26:09
问题 I have a plugin in wordpress (easy-fancy-box), which I think is adding this in my wp header. <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js?ver=1.6.4'></script> This version is outdated and is preventing me from using newer versions of jquery, (if i add version 1.8 of jquery, then the fancy box plugin fails. Is there a way to update the version which easy-fancy-box uses? I have tried searching for this in all the plugin files, but cannot

Apply jquery fancybox to elements loaded via ajax

本小妞迷上赌 提交于 2019-12-13 22:39:48
问题 I am loading a bunch of data and adding it to a div. However, some of the items in the data are links that need to be used with fancybox. I am using fancybox 1.3.4. I've tried a few solutions such as $fancybox.init(); and $(document).ajaxStop(); and none have worked. Below is my code: $.post('/ajax/ajax-page.php', $('#filter-results').serialize(), function(boardData){ leaderboard.html(boardData); upper_top_title.text(sport_skill_level+" "+sport_grad_year); lower_top_title.text(sport_type+"

jquery fancybox, iframe or ajax, load with url

痴心易碎 提交于 2019-12-13 21:38:54
问题 With fancybox (v2), how can I create a unique url that, upon load, displays the fancybox with iframe content. I have it working great with inline content (ex. www.mysite.com/index.html#idgoeshere), but don't know what the url or js should contain in order to load the fancybox, and within it, a specific iframe or ajax.txt page. What I am trying to achieve, is by going to a link like: www.mysite.com/index.html#iframe.html Load the index page, with the fancybox window opened, and the iframe.html

ckeditor + jquery + fancybox

£可爱£侵袭症+ 提交于 2019-12-13 21:02:02
问题 Purpose is to have a small icon on my admin page. Clicking this icon will fire a modal window with an instance of ckeditor textarea. The user edit the text, saves it and modal closes. My problem is that if i click again on the icon, the new editor instance is empty. Below you can see the relevant codes HTML Part: <a id="editShortText" title="Short Description" href="#saveShortTextFrm"><img src="clickme.gif"> <div style="display:none"> <form action="" method="post" id="saveShortTextFrm" name=

The previous and next button in fancybox are interfering with the play button of a vimeo video when it is set to display as gallery

前提是你 提交于 2019-12-13 19:29:29
问题 I have already tried tweaking the fancybox stylesheet but can't seem to move the hover area of the previous and next button so that it does not interfere with the play button of a vimeo video. I don't know if the problem can be solved by modifying the javascript file but I really don't have the knowledge to do so. Here is the css code of the fancybox stylesheet: #fancybox-left, #fancybox-right { position: absolute; bottom: 0px; height: 100%; width: 35%; cursor: pointer; outline: none;

parent.location.assign(url) not working from fancybox iframe

二次信任 提交于 2019-12-13 18:16:35
问题 I'm trying to reload the browser with a url link clicked in fancybox by the user so the parent window will go to the url after fancybox has closed, but only if the link is clicked and not when fancybox is closed normally. I open an asp file in fancybox that uses google maps api to show an interactive map. I'm testing when a marker is clicked, the infowindow opens with a link, which is a new location. I've gotten fancybox to close and the parent window reloads, but for some reason I cannot get

Fancybox + Bursting Pipe Ad

。_饼干妹妹 提交于 2019-12-13 17:34:17
问题 We're using Fancybox to throw up essentially an interstitial ad. The page loads, then Fancybox loads over it, and displays our ad content. For most ad content we've put up, this has worked (hand-coded links/images, DoubleClick content, etc). But ads from Burst Media seem to cause no end of headache. As soon as Fancybox loads, the Burst ad takes over, and does it's document.write() to the page. This (as far as I can tell) dumps everything else, and displays only the ad content. To make matters

Fancybox error: prev and next areas have black background on hover

回眸只為那壹抹淺笑 提交于 2019-12-13 14:07:03
问题 I've installed an unmolested version of Fancybox 2 on a site I'm building - it all works fine apart from when hovering over the previous, next and close areas a black background appears over the image. The only modifications I have made to the standard Fancybox are controls for the fadein speeds etc You can see the page here If you click on any of the images, the you will see the issue when hovering over the next / prev / close buttons. I've used this on another site and haven't had this

Close Fancybox iframe on form submit using BUTTON tag - not working

江枫思渺然 提交于 2019-12-13 14:05:36
问题 According to the Fancybox API, I am using the following code in an iframe: <form> ... // form fields here <button onclick="parent.$.fancybox.close();"> <span>Save</span> </button> </form> The form actually closes when 'Save' is clicked -- but the form content is not submitted. It's like the close event is triggered before the form actually submits its content. Without the onclick , content is submitted, but the subsequent page opens inside the iframe -- not what I want. Is there a way around