Hi there,
I'd like to know if one of you guys could take some time to explain to me how to automatically open a new tab when visitors access my website for the first time (without them clicking any link).
This should only happen on the first visited page (on every page it would be too much of a pain in the ass for the readers).
Any idea how I could do that ? So far I've been thinking about something like that:
Problem is this will be active all the time not only on the first visited page so far too agressive for users.
Thanks for your help !
I'd like to know if one of you guys could take some time to explain to me how to automatically open a new tab when visitors access my website for the first time (without them clicking any link).
This should only happen on the first visited page (on every page it would be too much of a pain in the ass for the readers).
Any idea how I could do that ? So far I've been thinking about something like that:
Code:
$("#afflink").click(function() {
setTimeout(function() {
window.open(
'url', '_blank'
);
}, 2000); // 2000 for 2 seconds, 1000 for 1 second etc
});
Problem is this will be active all the time not only on the first visited page so far too agressive for users.
Thanks for your help !