fancybox

Which jquery overlay library is best?

I've used lightbox and fancybox quite a lot but never really seen any reason to choose one over another. There are also a whole bunch I have not used like these http://planetozh.com/projects/lightbox-clones/ . The data on that page is quite old and in many cases incorrect. Are there any good reasons to choose one over the others? Perfor...

Fancybox with Facebook markup - Doesn't load

Why I try to load a fancybox, the content isn't loaded. The problem only occur when I use facebook markup. I also try with colorbox and got the same result. Is there anything I missing ? I got the following : <script type="text/javascript"> $(document).ready(function () { $("#shareWithFriends").fancybox({ 'titl...

Launch a fancybox pop up from another

Is this possible? With default options it looks like it isnt. Update I actually want one fancybox on top of the other. If I use the fancybox() method in another fancybox, it closes the earlier fancybox. Is there a way to launch one fb on top of another? ...

Drupal: add a js function callback to Drupal.settings.

Im using [drupal_add_js_()][1] function to add a fancybox effect to some image in my nodes (im not using the Fancybox module becose doesnt fit my needs). In short, i need to add the titleFormat function to format the image title; In my javascript file, it looks like: $("a[rel=myfancy_group]").fancybox({ 'transitionIn': 'elastic', ...

Fancy Box Overlay not working in IE8

Hi All, I am having an issue with FancyBox and IE8. For some reason IE8 does not recognize the background transparency on fancybox's overlay. It works in IE7 and older and Chrome, Safari, and Firefox. You can see the problem at: http://seabagsc.nexcess.net/tote-bags/kevlar-tote.html Any help would be much appreciated. Thanks! Chuck ...

Google maps in Fancybox-wrong display on reopening

Hi, I have a problem with Google maps API. I'm using V3 API and fancybox for show up map in lightbox-like div. When I click on the link for the first time, fancybox opens and map loads as well. Everything seems to be OK, but when I close the fancybox and try to reopen, the map is loaded wrong..It loads only at about half area than it has...

Add dynamic html to fancy box

Hi All, Been using FancyBox to display a swf player. What I would like to do is have an if statement that, when false adds the flash vars to 'swf': {...}, which I have working. And when true displays some inline markup. if (true) { $.fancybox({ 'type': inline //can I...

JCarousellite does not work from within Fancybox

I have have a link that opens up a Fancybox(also tried Colorbox) to an image gallery page. This gallery page uses jCarousellite for thumbnail navigation then loads the large image using an ajax call. When i access this gallery page directly, everything is peachy and all the JQuery fires correctly. When i load it using Fancybox, none o...

Fancybox problem on iPhone

Fancy box seems to have problems working on iPhone and iPad. Go here http://fancybox.net/blog and click "5. Display login form Try now" on the page in an iPhone or ipad. The form is not center and when you try to enter your details the box moves about the page and makes it unusable. Any fixes? Thanks, C ...

How do I track Fancybox clicks in Google Analytics?

I have a page with 24 links that each open up a .html file in a modal window with Fancybox, and each .html file has a video embedded in it. How do I track to see who is opening which videos? ...

Call jQuery from a Fancybox iframe?

I have loaded a page in Fancybox using a iframe. But when I try to perform jQuery functions within that iframe it won't work. How do I access the iframe page or content so that I can perform jQuery on that page? I tried this below but doesnt work. jQuery(document).ready(function(){ parent.jQuery("#showcasef", jQuery.browser.msie ? paren...

Opening Jquery fancybox from a function.

I can't seem to find the answer to this question anywhere so I ask here. I already use successfully fancybox like this: $("#editor").fancybox({ 'width' : 1000, 'height' : 600, 'autoDimensions' : false, 'autoScale' : false, 'ajax' : { type : "POST", ...

Using fancybox to view full sized image

I'm trying to develop some code where a jquery takes images and resizes them to fit the parent div, with an option to click on the image to view it in full size with fancybox. I'm trying to do it all images with class "expand", and don't anticipate having more than on image with that class per page. Below is what I've come up with so fa...

How can I use $(this) inside of Fancybox's onComplete event?

I'm trying to use jQuery's $(this) inside of Fancybox's onComplete event, but I'm running into trouble. Here's my javascript code: $('a.iframe').fancybox({ centerOnScroll: true, onComplete: function(){ var self = $(this); var title = self.title; alert(title.text()); } }); I have simplified the code abo...

does jquery fancy box support mp3s?

hi, does jquery fancy box support mp3s? if not is there a a stable plugin? thanks ...

Google maps API map.openInfoWindowHtml with jquery and fancybox iframe

Ihave problem with google maps. 1st i open Gmap like someone already click on point: "map.openInfoWindowHtml(point, xhtml);" - that's ok 2nd in var xhtml i put link to "Get Directions" - that's ok 3rd i want: if someone click on link in "InfoWindow" to open iframe with FancyB, just like someone visit "http://maps.google.com/" and write o...

Fancybox + Bursting Pipe Ad

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 ...

Loading inline content using FancyBox

Well, I'm simply writing this post to hopefully help others that might come across the same issue. The examples on the vendor website are a little vague and I had assumed the following scenario. You have a link with a hrefn to some content's #id. <a href="#content-div" class="fancybox">Open Example</a> And you have a div to hold t...

Fancybox wrapper not auto-sizing correctly to image dimensions

hi folks, I'm having an issue with FancyBox. It's supposed to auto-resize the wrapper in accordance to the dimensions of the image. It's not doing that. Specifically it's too small. You can view what I'm talking about here: http://www.themascot.ca/gallery_photos.php?event_ID=4 And here's the FancyBox jQuery code I've used: $("a[rel=p...

Fancybox is not a function

Hello I am using the jQuery plugin fancybox to display bing maps when somebody enters an address into a textbox and hits the submit button beside it. And a fancybox is loaded and a map for that address is displayed. This is working well with my application, but the problem is, it is only working well on one page and on the other one, whe...