Script help and insight, Please
On a couple of pages I use this script below to redirect to another site.
I like it as it goes between the </head> and <body tags.
I am actually able to run this with content/ images in the body which gets spidered.
First, will something like this get me the Big Google Slap?
Secondly, I only get a redirect from this and I would like to keep my own URL in the browser window
and then have it break out on the second click.
Obviously I'm no kind of webmaster since I only know enough to get me in trouble. LOL
Is there someone here who can point me in the right direction to,
either alter this so it does what I want it to do, Or another script that would work as I'd like.
Lastly, is it possible to get this to run inside a template (like a main index page) so I can include links to my other site pages.
I've searched for this and can't seem to find a worable solution for it.
Thanks to all who can help.
Cyber
<script>
//Browser redirect Script- © Dynamic Drive ()
//For full source code, 100's more DHTML scripts, and Terms Of Use,
//visit dynamicdrive
var browser_type=navigator.appName
var browser_version=parseInt(navigator.appVersion)
//if NS 6
if (browser_type=="Netscape"&&browser_version>=5)
window.location.replace("/")
//if IE 4+
else if (browser_type=="Microsoft Internet Explorer"&&browser_version>=4)
window.location.replace("/")
//if NS4+
else if (browser_type=="Netscape"&&browser_version>=4)
window.location.replace("/")
//Default goto page (NOT NS 4+ and NOT IE 4+)
else
window.location=". dynamicdrive.com"
</script>
-
mywebwork -
Thanks
{{ DiscussionBoard.errors[703433].message }} -
-
Louis2 -
Thanks
{{ DiscussionBoard.errors[703811].message }} -