Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fancybox 2 error image

    $("a[rel='fancybox']").fancybox({
        openEffect: "none",
        closeEffect: "none",
        tpl: {
            error: '<p class="fancybox-error"><img src="/images/no-image.png"></p>'
        }
    });
 
PREVIOUS NEXT
Tagged: #fancybox #error #image
ADD COMMENT
Topic
Name
1+6 =