Is there a way to make this random link generator script open links in a new tab or window? (tab would be preferable)
Code:<script> <!-- /*Super random link script- Written by JavaScript Kit (www.javascriptkit.com) over 200+ free JavaScripts here! */ function random_all(){ var myrandom=Math.round(Math.random()*(document.links.length-1)) window.location=document.links[myrandom].href } //--> </script> <form> <input type="button" onclick="random_all()" value="Random Link!" /> </form>



