Questions tagged as 'fancybox'

1
answer

Open images on the same page with Fancybox in CakePHP Impossible

I'm trying to make a gallery, which consists of a list of thumbnails, that clicking on the items eventually would pop up a popup like the first example here . After several failed attempts, where even the thumbnails did not appear, at the su...
asked by 17.03.2014 / 17:55
2
answers

Event 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 page resizing with a FancyBox window, which loses its dynamic changes and returns the setting when it was opened.     
asked by 20.03.2014 / 18:46
2
answers

jQuery function with fancybox - I'm having refresh problem

When you open or close fancybox (I am a programmer php but starting at Javascript with jquery ), in> refresh and back to the top of the content losing the focus of the place that the content was when it triggered fancybox . Th...
asked by 17.02.2014 / 12:23
2
answers

Open 2 windows and close one at a time

In fancybox I open two plugin windows and need to close one at a time ... Example: when opening the first window only closes the first and when the second opens only the second, the first one remains open when the second closes ... I made...
asked by 28.06.2014 / 06:00
1
answer

Enable Javascript within a Fancybox

I need to make a slideToggle in a Fancybox window. The normal method of catching (elemento).click(functiom(){...}) I know it does not work. I only know that we should use .on() of jQuery but I do not know how to do it and anyone wh...
asked by 01.05.2015 / 19:38
1
answer

Fancybox keep previous and next arrow always visible

On my site I'm using fancyBox to show a product image, it's working fine, but I need to leave the "Previous" and "Next" arrows always visible to make it clearer to the user that there is a navigation, I do not have enough knowledge for such a fe...
asked by 24.02.2015 / 19:43
1
answer

Insert link in FancyBox popup image

How to insert a link in the image that pops up in fancybox after the click? HTML code snippet: <li> <a class="fancybox" rel="group" href="imagem_grande.jpg" title="nome_produto"> <img src="imagem_pequena.jpg" alt="Imag...
asked by 23.03.2015 / 17:44
1
answer

Updating the size of the fancybox dynamically

Hello, I need to resize the size of a fancy box dynamically from a onClick event that will show other components on the page. I tried to use the following code snippet found here , and this resizes the page but gives the following...
asked by 20.03.2014 / 16:00
2
answers

Fancybox with share button for Facebook

I would like to add a 'share on facebook' button to the overlay of Fancybox 2.1.5 on instagram photographs. At the moment I have a like button that works but that's not what I want, what I really wanted was a share button, I've tried ev...
asked by 02.04.2015 / 17:24
1
answer

Uncaught 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 not understand why this is happening, can someone help me? <script type="text/javascript">...
asked by 03.04.2014 / 15:33