patiek / gallerie

Gallerie is a simple JQuery plugin that offers a lightbox-like gallery viewer of a collection of images.
Other
15 stars 14 forks source link

multi gallery #1

Open TheImmortalLines opened 10 years ago

TheImmortalLines commented 10 years ago

$(document).on(options['imageEvent'] + '.gallerie', elem, function(e){

replace

$(this).on(options['imageEvent'] + '.gallerie', elem, function(e){

dbesiryan commented 8 years ago

perfect! this fixed a problem causing some headache to me :)

Frief84 commented 7 years ago

I use

 $(document).ready(function(){
                $('#gallery').gallerie();
            });

and as opening function

function openGall() {
                document.getElementById("gallery_box").style.left = "0px";
            }

wehre i need to put $(this).on(options['imageEvent'] + '.gallerie', elem, function(e){ and I want to open 3 or more gallerys?? what else i need to change ??