fancybox

Is there an alternative to lightbox / fancy box / slimbox that does not require a doctype declaration?

Hi, I am forced to work within a rubbish IDE that creates survey webpages, therefore I cannot control the doctype of the pages (it's not a great piece of software, in fact I hate it but have no choice, and it adheres to no standard doctype, it adheres to no standard anything!). I want to produce a pretty popup on my pages, but cannot u...

FancyBox resize width

I'm able to resize the height with the $.fancybox.resize(); part, but the width just doesn't update according to the new content. Thoughts? ...

open Fancybox in tabs

Hello all. I am using PHP + jQuery + Fancybox in my project. I have multiple tabs that get created dynamically. I have got a star icon on every tab header and on clicking them I want to open a fancybox. My tabs are basically ul-li with following dynamic code. $("#tabs").append("<li class='current'><a class='tab' id='tab_" + tabCnt ...

fancybox: finding anchor from which fancybox was called

Inside fancybox window I would like to retrieve html element (anchor probably) from which fancybox was called. How can this be done? ...

fancybox iframe dimension

Hi, in the fancybox homepage (http://fancybox.net/home) there is an exemple that opens an iFrame dimensioned as the 75% of the screen. I cant get it by modifing the width and height properties on the .js file as described on the site. Someones can help me? thaaanks ...

Triggering FancyBox from a DIV onclick();

Hello, This question seems to have been asked a lot, but I haven't seen an answer that works. So I have a div that works like this: <div onclick="location.href='http://www.abc123.com';" class="menuitem"> </div> Now I need the link (specified in location.href) to open up in a fancybox iframe. I would love to use an A element but thi...

Making iframe's CSS completely independent from parent frame

context: I am loading an S6 slideshow from my web page inside an iframe loaded in a fancybox. The code in my parent web page is <a id='presentation' href='/my/server/my-big-presentation?iframe'> Launch presentation </a> <script type="text/javascript"> $(document).ready(function() { $("a#presentation").fancybox(); }); </script> ...

jQuery fancybox plugin not centered in safari or chrome, but is in firefox.

I've just installed fancybox on my site, and it works perfectly in firefox, but when I try it out in chrome and safari, the fancybox is not centered in the browser window. Any insights? You can view a demo at: http://kotyy.com/kotyy/lindseyandasp/test2.xhtml ...

Fancybox, getting Fancybox to bind using LIVE() to items being loaded onto the page after load

I have a page that loads and after it loads, it pulls in a list of LIs to populate a news feed. <li><a href="/url/" class="quickview">quick view</a></li> <li><a href="/url/" class="quickview">quick view</a></li> <li><a href="/url/" class="quickview">quick view</a></li> I'm trying to get fancy box to trigger when a user clicks on quick...

FancyBox, Obtaining an ATTR of the item clicked

I have the following lines of code: $("a.quickview").fancybox({ ajax : { type : "POST", data : 'itemID=' + $(this).attr("name") } }); Which is binding on: <a name="614" class="quickview" href="/URL/index.cfm">quick view</a> I want data to post as itemID=614, but $(this).attr("na...

Open youtube video in Fancybox jquery

Can I open youtube video in fancybox. I have a list of youtube videos links , for ex: <a href="http://www.youtube.com/watch?v=PvbqV8W96D0" class="more">Play</a> and fancubox : $("a.more").fancybox({ 'titleShow' : false, 'transitionIn' : 'elastic', 'transitionOut' : 'e...

Using Fancybox with Google Static Maps

Setup I have multiple links on a page with the class location_link Each Links rel attribute is equal to a city state combo (i.e.,Omaha, NE) Once the page is loaded, a JavaScript function loops through all of the location_link items and binds a click event to them using jQuery. This click event fires a call to the Fancybox construct...

Asp.net control inside of fancybox modal is not "working"

Your typical "It doesn't work" freak out going on over here. Any direction would help. I have a login control on my master page and I'm trying to only display it using jquery fancybox and then redirect the user once they are logged in. But any buttons or controls that should do "something" when pressed when I put inside the fancy box a...

Fancybox force scroll to top

I'm using the jQuery Fancybox plugin to display some content on a website. Unfortunately, when a link is clicked, the lightbox that is loaded starts at the same scroll position as the previous one. I tried using self.scrollTo(0,0) $.scrollTo(0) $('#top').scrollTo(); and a few others methods to push it back to the top, but ...

Jquery FancyBox target specific DIV ID?

How do I get Fancy box to target a specific DIV ID on a page and not request the whole page in the fancybox.? This my code so fare $(function() { $(".style_image a").live('click', function(event) { $(".style_image a").find("#show_style").fancybox(); }); }); This don't work? I originally tried the following: $(functio...

Refresh DOM with jquery after AJAX call

I'm working on a new project http://www.hotwirerevealed.com which reveals / identifies hotels on hotwire.com. After inputting a state and a destination I have a javascript functions that uses jquery's .post method to post. The post request goes to an php page which outputs html, I se jquery's html method to place the content on the page....

Facncybox in Jquery

I am using jquery.fancybox-1.2.1.js of fancy box in asp.net application Q1: In the base page i have datagrid and on combobox. on slection of combobox the datagrid is populated. From the datagrid I open the fancybox when user click on Edit link. I open new page like In EditProjectTask.aspx i have the controls in edible mode. Now if user...

Google Docs in iframe AND Save & Close button

Hello, I am using Google Docs in my project using its API. I am loading docs in modal window iframe using http://fancybox.net/ a jquery plugin It works fine but when in Google Docs Save and Close button is press, it closes the iframe and redirects the current page to Google Docs, So is there any way I can prevent the redirection to Go...

Fancybox - ASP.NET button not working

I've just determined using Firebug that when Fancybox window is created it actually takes all of my ASP.NET controls (contained in DIV tag) and puts them outside FORM tag. So I guess this is the reason why then ASP.NET button doesn't do anything - it is placed outside form. So, do you have any suggestions how I can prevent this (or make...

Display vimeo in fancybox , trouble in IE

Hi all, i have a problem with VIMEO video . I want to display it in fancybox : this is HTML : <a href="#content" class="zoom">test</a> <div id="content" style="display:none;"> <object width="504" height="280" data="http://vimeo.com/moogaloop.swf" type="application/x-shockwave-flash"> <param value="always" name="allows...