Jquery – Start FancyBox on page load without clicking

When you want to open a popup on page load without click by using Fancybox, you can use this script:

window.jQuery(document).ready(function() {
    $.fancybox.open('#popup_box');
});

 

Hope it will help ^^

Revisions

No comments yet.

Leave a Reply