18.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

11-07-2013, 08:17 PM
Post: #1
JavaScript:Tutorial, Redirect URL
Introduction:
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
Thanks for giving me +Reputation!




62.gif