Forum Moderators: open

Message Too Old, No Replies

Redirect on download

Is there a better way to do this?

         

kaled

12:13 pm on Apr 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm getting a lot of hits for a freeware product and, naturally enough, want to use this to promote another product. The method I've chosen is to redirect to another page a few seconds after a download is initiated. However, whilst I am happy with the concept, I feel there is probably a better way to do it.

Any suggestions?

This is how it works now

<script>
<!--
function promote()
{ setTimeout("top.location.href = '../shareware-product/'",6000); return true }
-->
</script>

<a onclick="return promote();" href="downloadurl">Download</a>

Kaled.

orion_rus

11:53 am on Apr 5, 2005 (gmt 0)

10+ Year Member



I think it's the best way to do) none suggestions i can made about this)