Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Fancybox 2 image counter

    $("a[rel='fancybox-listpage']").fancybox({
        openEffect: "none",
        closeEffect: "none",
        beforeShow: function() {
            this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
        },
    });
 
PREVIOUS NEXT
Tagged: #Fancybox #image #counter
ADD COMMENT
Topic
Name
1+3 =