fancybox

Why is my Flash animation overlaying my div position?

I am using FancyBox to generate a popup image. FancyBox (In case you are curious.) It pops up a div with z-index: 92;. I have a Flash animation running which is far below that z-index. My problem is that in two different Firefox browsers (same versions) I have different results. In one, everything appears OK. In the other, the F...

Proper way to use JQuery when using MasterPages in ASP.NET?

I have no issues when doing using JQuery in a aspx page without a masterpage, but when I try to use it in pages that have a masterpage, it doesn't work, so I end up putting the jquery files and other script files in the page instead of the master. Now if I have 10 pages, I am doing this for all 10, which I know is incorrect. In the sam...

Proper way to run the following JQuery Script?

I am using the FancyBox plugin and when the user clicks on a small image, a larger image pops up. I saw the code for doing it with 1 image, but not for 2, so I assumed the correct way was to just do the following, which I am curious if it is correct or not? Do you just put the statements element you want the fancybox to operate on righ...

How to launch jQuery Fancybox on page load?

I would like to launch a Fancybox (e.g. Fancybox's version of a modal or light box) on page load. I could bind it to a hidden anchor tag and fire the click event of that anchor tag via JavaScript, but I would rather just launch the Fancybox directly and avoid the extra anchor tag. ...

How can I use fancybox using onclick?

Hi I am trying to make use of JQuery and Fancybox. This is how it should be used: http://fancy.klade.lv/howto However, I can not generate many ids for "a href" and I do not want to make many instances of fancybox ready. So I want to be able to use one fancy box instance for many hyperlinks that do the same thing. Whenever any of thes...

Jquery - fancybox and callback

Hello, I have problem with fancybox. I want to write a function that will run when the fancybox opened. How and when to call the function? Example: function myFunc() { alert("Opened!"); } $('.content a').fancybox({ 'hideOnContentClick': false , 'callBackOnShow': myFunc(), // This not working! It call function when page ...

Open up first Fancybox picture automatically

Upon clicking on a link, I am bringing in some images from a JSON get, and then when clicking on one of the pictures can get the gallery to appear, but I would like the first image to appear straight away, as an event once the JSON has been loaded. Is this possible? My code is: $("#json-get") .css("cursor","pointer") .click(fun...

Open Fancybox (or equiv) from Form input type="submit"

is there a way to get a fancybox (http://fancy.klade.lv/) or any other lightbox from submitting a FORM (with an image button)? HTML looks like this: <form action="/ACTION/FastFindObj" method="post"> <input name="fastfind" class="fastfind" value="3463" type="text"> <input name="weiter" type="submit"> </form> These won't do: $...

jQuery FancyBox Resize

Hi, Does anyone know how to resize the jQuery Fancybox during runtime? When initialising the fancybox I can do this: $("tag").fancybox({ 'frameWidth': 500, 'frameHeight': 700 }); I am filling the fancybox with dynamic content and want it to resize according to the content. Anyone has a clue? Thanks, Swiftaxe ...

jQuery Fancybox & Image Frame Size Control

I know that I can use the frameWidth and frameHeight options to control the frame size for inline and iframe content, but what can I do for manually controlling the frame size when displaying images? My problem is that I have images that I want to display in a fancybox that are extremely horizontal and not much vertically; fancybox scal...

Does duplicate id's screw up jquery selectors?

If I had two divs, both with id="myDiv" Would $("#myDiv").fadeOut(); fade both divs out? Or would it fade only the first/second? Or none at all? How do I change which one it fades out? Note: I know duplicate id's is against standards but I'm using the fancybox modal popup and it duplicates specified content on your page for the conte...

Fancybox jquery problem in IE6

I'm using the 'Fancybox' jquery script to open some videos in a lightbox. It's working fine in all browsers except for IE6. The lightbox opens but then the video won't load. Here's the link to the page - http://www.bevelite.com.au/sky-glass-videos Please help! ...

Can I put a link inside a title attribute?

I'm using the jQuery Fancybox plugin to create a modal window with the link's href as the content, and the title as its caption. I'd like to be able to have a clickable link in the caption (in this case to lead to a larger map) but I can't put an <a> tag into the title attribute. How might I go about putting this link in through Javascri...

Safari: Closing the movie player window doesn't kill the movie playback

Background I built a site for a film-production client. They needed a way to demo their showreels to the public and agreed upon a modal <iframe> approach (using jQuery and Fancybox) to showing their reels, all streamed via a third party provider. You can see the functionality in action here: http://groundglass.co.za/directors/ by click...

cannot get to fancybox to work at all

i feel i have done everything right but i cannot get lightbox to work at all. It is also coming up with the error that jQuery is not defined in the jQuery file. file is http://www.lotuswebdzine.com/lotusweb/portfolio.php ...

Need help resolving Fancybox display issue in IE8

Need help resolving a display problem on Fancybox content in IE8. It works fine in IE7, but when you click on the link in IE8 the content displays but without any of the styling. Link: http://www.gotoadvantage.com - click on sub navigation in the box to the right - where it says advantage overview. I inherited this from another develop...

Fancybox position

I'm using fancybox in a page very long qith a long scrollbar. The fancybox loads at the center of this page and so see it only if you scroll. How do I do to load the fancybox at the start of page? ...

jquery functions within Fancybox

I'm using fancybox to load up some inline content on a web page. Fancybox loads up fine as do the images, the only problem is that I would like certain jquery functions to work within the modal window which will not load up. The jquery functions work fine when I load them outside of fancybox so was wondering if anyone knows how to call...

calling fancybox using jquery .click function

I am trying to customise fancybox so that when one of the 4 images displayed on the page is clicked, this is the one that loads up in the fancybox window. To do this I want to use the jquery .attr function to pass the image src (as a variable) to the main image holder. My current jquery code is: jQuery(document).ready(function($) ...

jquery fancybox - prevent close on click outside of fancybox

I'm using the Fancybox plugin for my modal windows. It seems like no matter what options I use I can't prevent the fancybox modal window from closing when the user clicks outside of the fancybox modal window (grayed out area). Is there a way to force the user to click the X or a button that I trigger the close event? This seems like i...