invision
11-28-2002, 03:51 AM
Hello,
I first went to http://a1javascripts.com but their 'Browser re-direction' Javascript was a little limited. Any chance someone could make me up a new one incorporating all browsers out right now,
Thanks a trillion,
Michael.
P.S. Here's the original code I have:
<Script><!-- A1 Javascripts-http://www.A1javascripts.com --><!--
if (document.all) //IE4,5
loc = 'Your-IE4,5-choice.html'
else if (document.layers) //NS4
loc = 'Your-NS4-choice.html'
else if (document.getElementById) //NS5
loc = 'Your NS5 Choice.html'
else if (document.images) //NS3,IE4
loc = 'Your-NS3,IE4-choice.html'
else //NS2,IE3
loc = 'Your-NS2,IE3-choice.html'
window.location = loc;
//--></Script>
I first went to http://a1javascripts.com but their 'Browser re-direction' Javascript was a little limited. Any chance someone could make me up a new one incorporating all browsers out right now,
Thanks a trillion,
Michael.
P.S. Here's the original code I have:
<Script><!-- A1 Javascripts-http://www.A1javascripts.com --><!--
if (document.all) //IE4,5
loc = 'Your-IE4,5-choice.html'
else if (document.layers) //NS4
loc = 'Your-NS4-choice.html'
else if (document.getElementById) //NS5
loc = 'Your NS5 Choice.html'
else if (document.images) //NS3,IE4
loc = 'Your-NS3,IE4-choice.html'
else //NS2,IE3
loc = 'Your-NS2,IE3-choice.html'
window.location = loc;
//--></Script>