How to integrate Galleriffic with Lightbox?

Anyone have an idea how to link Lightbox 0.5 with Galleriffic? ( http://www.twospy.com/galleriffic/ )

When you click the download / text button, I want the image to open in a lightbox.

CONGRATULATIONS, Bas

+5
source share
3 answers

To do this, you will need to call the lightbox function every time you upload an image / caption. You will need to do this in the galleriffic onTransitionIn callback, such as:

...
onTransitionIn:         function() {
    $('#slideshow').fadeIn('fast');
    $('#caption').fadeIn('fast', function() {
        $('#caption a.lightbox').lightBox();
    });
},
...

Hope this helps!

+2
source

This is the time you posted this question so that you may already have discovered this, but .......

, , !!! gallerifficPlusjquery. ! , . .

- : GalerifficPlus jquery Plug-in

+4
onTransitionIn: function() {
    $('#slideshow').fadeTo('fast', 1.0);
    $('#slideshow span.image-wrapper').fadeTo('fast', 1.0);
    $('#caption').fadeTo('fast', 1.0);
    $('#caption span.image-caption').fadeTo('fast', 1.0);
    $('#caption').fadeIn('fast', function() {
        $('#caption a.lightbox').lightBox();
    });
},
+1
source

All Articles