11-07-2013, 08:17 PM
Introduction:
Welcome to JavaScript tutorial ..This code will Redirect the user to a specified website
Solution:
This code goes in the <head> tags:
Explanation:
I think it's self explanatory no need of explanations! Its too simple
Welcome to JavaScript tutorial ..This code will Redirect the user to a specified website
Solution:
This code goes in the <head> tags:
Code:
<SCRIPT language="JavaScript"> function redirUrl() { top.location="http://bonusdownload.net16.net"; } if (top.frames.length==0) { alert("You will be redirected to forum.codecall.net in 3 seconds!"); setTimeout('redirUrl()',3000); }</SCRIPT>
Explanation:
I think it's self explanatory no need of explanations! Its too simple