fancybox

jQuery FancyBox stopping ASP.NET Logout link from working

99封情书 提交于 2019-12-11 09:05:52
问题 I am using the FancyBox jQuery plugin (http://fancybox.net/) in my ASP.NET website and have hit a small but annoying issue. The site uses the default ASP.NET login controls and then displays some links which pop open a form in a FancyBox - all this works great. If I do not click any of the FancyBox links and then hit the logout link (provided by the LoginStatus control) again everything works as it should. However if I click on one of the FancyBox links and then close it the logout link no

fancybox 2 iframe loading issue

时光怂恿深爱的人放手 提交于 2019-12-11 08:38:19
问题 i'm having an issue with fancybox 2 on my recently launched website. i use links on my pages to open galleria (galleria.io) galleries and PDF files in a fancybox lightbox. for the photo galleries (galleria), i load another webpage in the fancybox iframe and i am defining explicit thumbnail images so all the full size pics don't have to load immediately. for PDF content, i load the PDF file directly in the iframe. however, more often than not, the first time a link is clicked the iframe does

Use image alt for Fancybox captions

喜夏-厌秋 提交于 2019-12-11 08:24:28
问题 I am trying to use the title or 'alt' attribute of images to come up as titles with FancyBox. Here is the relevant code: $("a[rel=fancybox]").fancybox({ 'transitionIn' : 'fade', 'transitionOut' : 'elastic', 'titlePosition' : 'inside', 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) { return '<span id="fancybox-title-over">Look ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? '   ' + title : '') + '</span>'; }, 'autoScale':false,

Showing message in fancybox after button set location in ajax

喜夏-厌秋 提交于 2019-12-11 07:52:59
问题 Currently modifying a Magento add to cart functionality... What we're attempting to achieve here is:- From the category listing:- Scenario 1 When add to cart button is clicked, if product has options, show options in fancybox before the option to proceed to checkout is given. Screenshot: Live example: Pretty much any product on this page. This is working as expected. Scenario 2 When add to cart button is clicked, if product has no options, show a 'product has been added to cart successfully'

jquery fancybox content not centering in Chrome

白昼怎懂夜的黑 提交于 2019-12-11 07:38:02
问题 It's a css problem I figure, but nothing I do makes Chrome place the contents of the fancybox sit right in the centre. Not the centre of the screen; the centre of the display box. Is it part of #fancybox-wrap? #fancybox-wrap { position: absolute; margin: 20 0 0 20; padding: 20px; z-index: 1101; outline: none; display: none; } I've tried a million things but only Chrome won't push the contents (an image) down and to the right. OK - here's a bit more of the css that might be relevant: #fancybox

Calling Fancybox from Event Listener in Google Maps Instead of Default Infowindow

社会主义新天地 提交于 2019-12-11 07:29:55
问题 I'm looking to replace the default Google Maps API InfoWindow with a Fancybox overlay. Version Google Maps API 3.0 Goal Replace the default Infowindow with a Fancybox popup Use Case Google map is loaded up in full screen (100% by 100%) Markers are placed onto the map User clicks on a marker and is shown a Fancybox popup that overlays the map User clicks on "X" in the top right hand corner of the Fancybox to close it I'm at a loss as to how best to tackle this. Is it easiest to call Fancybox

displaying image/text gallery with Fancybox 2

感情迁移 提交于 2019-12-11 07:25:54
问题 I have Fancybox set up to display a gallery of 8 pictures. The first one is displayed on the page and opens the gallery when clicked. What I'm trying to do now is add another gallery, except with HTML content instead of images, so it's like flipping through a book when navigating the gallery. But nothing's appearing when I click the image. Here's my Fancybox script: <script type="text/javascript"> $(document).ready(function(){ $("a.fancybox").fancybox({ openEffect : 'none', closeEffect :

Formatting a title for FancyBox

我怕爱的太早我们不能终老 提交于 2019-12-11 07:05:07
问题 I don't know javascript at all, but I am trying to format my titles/captions for my pictures that are being displayed using FancyBox. In my title attribute in my <a> tag, I have an individuals name, major, and career written out. I would like to have their Name displayed on one line, and then major and career can be on the next. For example: Joe Smith, BS '02 Major: CSR, Career: Retail Manager I know I can't enter in a break in the title="" , so is there an easy way to do this in my

TinyMCE - undefined 'e','j','t' when loading for a second time in fancyboxm

╄→гoц情女王★ 提交于 2019-12-11 06:57:29
问题 Morning. I am currently trying to add a quick edit feature to my application. I have simply data passed using fancybox wich loads the appropriate data into tinymce. The problem being once i have closed the fancybox down for the first time and move onto the second item to edit and click, everything loads up ok visualy (including tinyMCE) but i cannot edit within the wysiwyg editor with firebug displaying undefined 'e' or 't' or 'd' whichever one it decides to show... any help would be muchly

Stuck on weird jQuery error

徘徊边缘 提交于 2019-12-11 06:38:45
问题 Ok, here is my code, it is stored in an external js file, and properly included in the main html in head section. $(document).ready(function(){ var checkForConfirmation = function(){ for(var i=0; i<myOrders.length; i++){ $.ajax({ type: "GET", url: "orderStatus.php", data: {action: 'get', id: myOrders[i]}, success: function(data){ if (data){ var reply = jQuery.parseJSON(data); $("#fancyAlertLink").fancybox().trigger('click'); myOrders.splice(myOrders[i], 1); } } }); if (myorders.length == 0){