setTimeout(function(){ $.fancybox.open({ src: '#pop-welcome-content', type: 'inline', smallBtn: false, toolbar: false }); }, 1000);