hello I have this popup code now I want to switch to the web link when a user clicks on the image. Please help me, thanks
$(document).ready(function() {
var delay = 5000; // 5 seconds
setTimeout(function(){
$.magnificPopup.open({
items: {
src: 'img/bg-corporate-20-2.jpg'
},
type: 'image'
});
}, delay);
});
Aucun commentaire:
Enregistrer un commentaire