Questions tagged [fancybox-2]

Version 2.0 of the 'fancybox' tool. It is a completely rewritten plugin with new features and updated graphics.

Refers to the version 2.0 of the tool.

More information here.

1193 questions
6
votes
1 answer

How to replace default controls with custom buttons in Fancybox 2.1.5?

In Fancybox 2.1.5 I want to replace the default controls with my custom buttons (new preloader + close/next/prev buttons on sprite). I'm not sure how to adjust the css code properly. I tried to modify the CSS as follows, but there's something wrong,…
user2427839
6
votes
3 answers

How can I make fancyBox 2 adjust its height to fit its contents?

I'm trying to get my fancyBox to expand in height when its contents are taller than the viewport. That way, the user scrolls its contents using the browser's scroll bar. Instead, my fancyBox keeps getting its own scroll bar. I'm just using inline…
Chris
  • 160
  • 1
  • 1
  • 6
6
votes
1 answer

Fancybox iframe dynamically resize

After some time I am still having issues with resizing iframe height in FancyBox2. I am calling this in my parent: $(document).ready(function() { $('.fancybox').fancybox(); $('.showframe').fancybox({ openEffect : 'elastic', …
Peter
  • 1,264
  • 5
  • 20
  • 41
6
votes
3 answers

Visible inline div disappears after being displayed with fancyBox

I am posting a problem and solution here to help anyone who has experienced the same problem as me. I have a
on my page which I wanted to allow the user to 'zoom' to by clicking on an icon. The
is not hidden. I used fancyBox (fancyBox…
James Urry
  • 63
  • 1
  • 5
5
votes
3 answers

Fancybox "dances" around

So I'm having this trouble with FancyBox where when the body of the page (main page) is being scrolled, the box shifts position to the left and top randomly. Attached a GIF to demonstrate the issue: I'm using Fancybox v2 as far as I know. The…
Aviad
  • 3,424
  • 3
  • 14
  • 21
5
votes
1 answer

How can I set default (global) options for helpers?

I need to fix the problem with body element and the css overflow attribute discussed in this post: When a fancybox 2 is activated, a scrollbar flashes on the parent page causing the content to shift left and then back Using the helper option…
Fred Wuerges
  • 1,965
  • 2
  • 21
  • 42
5
votes
2 answers

How to make Fancybox version 2 draggable

I currently have popups on a site I'm developing through version 2 of fancybox. I'm using fancybox because I need to be able to submit forms through said popups. Now, I've actually found another thread that got fancybox version 1 to work with a…
Firebrat
  • 81
  • 2
  • 6
5
votes
1 answer

Fancybox urls without .jpg opens not in box

I have seen a similar question here : Fancybox chokes on a URL that contains "&" And I have tried all offered solutions but none of them work ! I have included correctly all links, ( the jquery link first ) I checked, and at the beginning of my…
Dikeneko
  • 344
  • 4
  • 19
5
votes
1 answer

FancyBox 2.1.4 / jQuery - Can I use one Thumbnail to link to Photo Gallery?

I'm using FancyBox 2.1.4 and jQuery, Is it possible to have only one Thumbnail on an HTML Page that points to an entire FancyBox Photo Gallery that consists of more than one photo? So when one click on that one Thumbnail it will launch a FancyBox…
RayMysterio
  • 51
  • 1
  • 4
5
votes
3 answers

fancybox 2.1.4 - Uncaught TypeError: Cannot read property 'helpers' of undefined

Having some issues with a website that I am working on I can't seem to get fancybox to work correctly testing it with a YouTube clip. Here is my script file. Using 2.1.4 with jQuery 1.9 script.js var $j =…
FluxSine
  • 51
  • 1
  • 1
  • 3
5
votes
3 answers

fancybox 2 gallery with nextClick - clicking final image closes it

i'm trying out fancybox 2, and i've removed the arrows, closebutton, and loop, and enabled nextclick. i'm going for super clean and easy to use. the problem i'm having now is that I click through the gallery, but when I click the last slide i expect…
user1918417
  • 53
  • 1
  • 4
5
votes
1 answer

Fancybox 2 Forcing Responsive Media Queries in IE

I am building out a really small fancybox 2 modal that pops up with an iframe inside it that displays a little text and whatnot. However, the QA team going over this build have noticed that its forcing the site to think the max width is 480px for…
lxndr
  • 702
  • 1
  • 11
  • 25
5
votes
2 answers

Is it possible to open a PDF with fancybox 2.1 in IE8?

I'm working on a site that hosts a lot of PDF files and I want to open them in fancybox (2.1) for a preview. It works just fine in Chrome and Firefox. But it just won't work in IE8. I've tried linking directly to the PDF file, linking to an…
GMK
  • 2,890
  • 2
  • 20
  • 24
4
votes
1 answer

Autoplay HTML5 Videos in Fancybox

I'm working on a project that uses Fancybox to display single HTML5 Videos, as well as HTML5 video galleries. For the single videos, I'm looking to autoplay the video as soon as it's opened in Fancybox, and then close Fancybox when the video has…
Eric Wood
  • 579
  • 2
  • 9
  • 22
4
votes
2 answers

fancybox, make slideshow with images and divs that are not the gallery

I am using the jQuery fancybox plugin to create an image gallery. User clicks on an image and then a modal shows up to navigate through all the images. Up to this point, everything is done with the following code . But the change I want to do is in…
Istiaque Ahmed
  • 6,072
  • 24
  • 75
  • 141
1
2
3
79 80