Hello All,
I was wondering if anyone knew any "simple" javascript coding I could implement to redirect a landing page to another landing page after about 10 seconds.
Thanks Everyone!
This sounds like a terrible idea and I hope you have a good reason that is not the super spammy sounding reasoning I am thinking of but...
<html>
<body>
<p>You will be redirected in 3 seconds</p>
<script>
var timer = setTimeout(function() {
window.location='http://example.com'
}, 3000);
</script>
</body>
</html>
Nothing spammy here... he's waiting for a token to become available on the back end before displaying it in a follow-up page.
However I think I have a way to poll for the token itself so you don't need to guess at it.