go to this page in script code example
Example 1: javascript redirect
window.location.href = "http://mywebsite.com/home.html";
Example 2: javascript link to another page
window.open("http://mywebsite.com/home.html")
window.location.href = "http://mywebsite.com/home.html";
window.open("http://mywebsite.com/home.html")