Most voted "fancybox" questions
Fancybox is a derivative of the lightbox that is an effect used in HTML to display content in evidence, placing them superimposed on the page in a normally centralized way and using every available area of the browser for such.
Learn more…24 questions
Sort by count of
-
6
votes1
answer1286
viewsOpen images on the same page with Fancybox in Cakephp impossible
I’m trying to make a gallery, which consists of a list of thumbnails, which by clicking on the items would eventually make a popup window appear as in first example here. After several failed…
-
5
votes2
answers1050
viewsEvent that identifies when the browser is resized.
Is there any event javascript that identifies when the browser resizes the page? I’m having problems with resizing the page with a window FancyBox, which loses its dynamic changes and returns the…
-
3
votes2
answers1082
viewsjQuery function with fancybox - I’m having refresh problem
When opening or closing the fancybox (I’m a programmer php but beginner in Javascript with jquery), my page gives a refresh and goes back to the top of the content losing the focus of the place that…
-
3
votes1
answer198
viewsFancybox keep arrow back and next always visible
On my site I am using the fancybox to show a product image, it is working right, but I need to make the arrows "Previous" and "Next" always visible to make it clear to the user that there is a…
-
2
votes1
answer655
viewsUpdating fancybox size dynamically
Hello, I need to resize the size of a Fancy box dynamically from an event onClick which will show other components on the page. I tried to use the following code snippet found here, and this resizes…
-
2
votes2
answers485
viewsOpen 2 windows and close one at a time
In fancybox I open two windows of the plugin and need to close one at a time... Example: when opening the first window only closes the first and when opening the second window only closes the second…
-
2
votes1
answer233
viewsFancybox with dynamic size
Hello. I’ve searched several examples of how to call a Fancybox Pop-up by passing the window size by parameters in my Function. Ex. AbrirPopUp(url,w, h) { chamar #Fancybox(url,w,h) } <a…
-
2
votes1
answer413
viewsInsert link in Fancybox popup image
How to insert a link in the image that opens (popup) in the fancybox after clicking? Excerpt from the HTML code: <li> <a class="fancybox" rel="group" href="imagem_grande.jpg"…
-
2
votes1
answer141
viewsEnable Javascript within a Fancybox
I need to make a slideToggle in the window of a Fancybox. The normal method of catching the (elemento).click(functiom(){...}) I know it doesn’t work. I just know that we should use the .on() jQuery…
-
1
votes1
answer5316
viewsUncaught Syntaxerror: Unexpected token
I get this error in the 3rd line of this code to make a lightbox appear with an image by clicking on it, using fancybox 2, with Cakephp. I can’t figure out why this is happening, someone can help…
-
1
votes2
answers479
viewsFancybox with Facebook share button
I would like to add a facebook share button to overlay Fancybox 2.1.5 on instagram photos. At the moment I have a button like that works but that’s not what I want, what I really wanted was a button…
-
1
votes0
answers30
viewsEnable thumbnail via ajax
I am loading an image gallery via AJAX with the fancybox so I need to also put the thumbnails in this gallery as I should proceed? Return of my JSON: [{"title":"caption 1....…
fancyboxasked 9 years, 7 months ago Joao Nivaldo 1,229 -
1
votes1
answer199
viewshow to put text in while in php just once
I have an image gallery made with fancybox that all the images that appear come from the database. the gallery is something thus. I have this: <div id="exterior"> <?php $con =…
-
0
votes1
answer125
viewsIframes and Fancybox
I’m looking to open one iframe Google Maps in a Fancybox via fancybox.iframe. But it makes the following mistake: No 'Access-Control-Allow-Origin' header is present on the requested resource. I know…
-
0
votes1
answer69
viewsCakephp Auth Does Not Allow Timthumb to Work
I have a gallery that worked properly, but after doing user restrictions with the Auth, thumbnails stopped showing the image, but when I delete function beforFilter(), public function…
-
0
votes0
answers117
viewsLoad fancybox across the screen
Guys, I have an iframe on a page of mine that has some images inside. I need to shoot the fancybox in these images but it has to occupy the entire screen of the page and not the total space of…
fancyboxasked 9 years, 7 months ago Joao Nivaldo 1,229 -
0
votes1
answer90
viewsHow to open Fancybox above menu
I’m having a hard time opening one lightbox Fancybox the same is getting below my menu, I changed the position of the same, but I did not like the result, it became strange, but I could not leave it…
-
0
votes1
answer94
viewsChange text from a div inside the fancybox
I have a popup using Fancybox, inside it I have a div, I need to change dynamically using Javascript the text of it. I am using the following code at the click of a button call:…
-
0
votes1
answer195
viewsHow to determine a fixed size for fancybox image gallery?
I’m making an image gallery with the plugin Fancybox.I’m listing the images with PHP, only I have a problem. I will be able to have images with different width and heights, so how will I always…
-
0
votes1
answer126
viewsdisplay content from another page using fancybox
I have a page with the names of various products and would like q when clicking on one open a fancybox with the details of each product. These details (name, price, etc.) are on another page and…
-
0
votes0
answers75
viewsFancybox and Ajax
Good afternoon guys. I’m having trouble with the Fancybox here and I wanted to see if anyone has managed to do it. I have a PHP script that takes 3 POST variables (latitude, longitude and accuracy)…
-
0
votes1
answer264
viewsJquery Fancybox: Pass a parameter to an inline window
I have 5 buttons that open a window using Fancybox modal inline, and the moment I open this window I need to take a parameter or some way to show which was the button that triggered the event: <a…
-
0
votes0
answers152
viewsFancybox - Update Parent after close
I am using an iframe Fancybox where when the user confirms a question I want to update the content of the original page after success in an ajax: $.ajax({ type: 'POST', url: 'excluir_foto2.asp',…
-
-1
votes1
answer37
viewsFancybox, reload previous page
I am working with the fancybox. Everything is working normally. However, I need to reload the information on the previous page, that is, on the page that has the button that calls the fancybox. The…