Visit Sponsor before Download

[Total: 0    Average: 0/5]

This simple script lets the user first click a link before he can download a file.

Head Code:

<script type="text/javascript"> 
<!-- 
function SetLink() 
{ 
document.getElementById("link").style.display='block'; 
alert("Thank you for visiting our sponsors. You can now visit the next page"); 
return; 
} 


//--> 
</script> 

Body Code:

You must click the following link before you will see the hidden link.
<a onclick="SetLink()" href="http://www.js-x.com/consult/" target="_blank">CLICK HERE</a> 

<br> 
<br> 

<div id="link" style="display:none">Now you can visit <a href="http://www.sporum.org">Sporum.org</a></div> 

Times Viewed: 1

Leave a Reply

Your email address will not be published. Required fields are marked *