bellcurve99
03-13-2006, 01:24 PM
http://www.dynamicdrive.com/dynamicindex9/bredirect.htm
Hello,
Im trying to use the script because one of the pages on my site isnt loading properly in IE or opera, http://abelloda.co.uk/projects.htm, its only good in firefox (see attatchment).
I saved the script as redir.htm and put it in my root folder, made an /IE folder with the correct IE settings and changed this bit
//if NS 6
//if (browser_type=="Mozilla Firefox"&&browser_version>=5)
//window.location.replace("http://abelloda.co.uk")
//if IE 4+
if (browser_type=="Microsoft Internet Explorer"&&browser_version>=6)
window.location.replace("http://abelloda.co.uk/IE")
//if NS4+
else if (browser_type=="Opera"&&browser_version>=8)
window.location.replace("http://abelloda.co.uk/IE")
//Default goto page (NOT NS 4+ and NOT IE 4+)
else
window.location="http://abelloda.co.uk"
Anyone got a quick clue please?
Hello,
Im trying to use the script because one of the pages on my site isnt loading properly in IE or opera, http://abelloda.co.uk/projects.htm, its only good in firefox (see attatchment).
I saved the script as redir.htm and put it in my root folder, made an /IE folder with the correct IE settings and changed this bit
//if NS 6
//if (browser_type=="Mozilla Firefox"&&browser_version>=5)
//window.location.replace("http://abelloda.co.uk")
//if IE 4+
if (browser_type=="Microsoft Internet Explorer"&&browser_version>=6)
window.location.replace("http://abelloda.co.uk/IE")
//if NS4+
else if (browser_type=="Opera"&&browser_version>=8)
window.location.replace("http://abelloda.co.uk/IE")
//Default goto page (NOT NS 4+ and NOT IE 4+)
else
window.location="http://abelloda.co.uk"
Anyone got a quick clue please?