You are viewing an old revision of this post, from June 9, 2017 @ 15:55:37. See below for differences between this version and the current revision.

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

  • June 9, 2017 @ 15:55:37 [Current Revision] by Sharing Solution
  • June 9, 2017 @ 15:55:37 by Sharing Solution

Revision Differences

There are no differences between the June 9, 2017 @ 15:55:37 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply