Lawrence William Trigg Lawrence William Trigg - 1 year ago 69
HTML Question

Delaying Hyperlinks

Is it possible to delay a hyperlink by 3 seconds as CSS has the delay animation, I have some icons with animation on them, for a mobile user they cant hover over the icons, but they would be able to see the icon animation if i had a delay on the hyperlinks?
Is this possible?
Thanks All!

Answer Source

Related post: I want to delay a link for a period of 500 with javascript

In summary:


<a href="javascript:delay('URL', 3000)"></a>


function delay (URL, ms) {
    setTimeout( function() { window.location = URL }, ms);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download