<HTML>
<HEAD>
<SCRIPT LANGUAGE="javascript">
?
function redirectClient(ieurl, nsurl) {
?if (navigator.userAgent.indexOf("MSIE") != -1) {
?window.location = ieurl;
?} else {
?window.location = nsurl;
?}
?}
</SCRIPT>
</HEAD>
<BODY>
Click <A HREF="javascript:redirectClient('a.htm',
'b.htm')">here</A>
to redirect based on the user's browser.
</BODY>
</HTML>
posted on 2006-05-08 16:31
happytian 閱讀(426)
評論(0) 編輯 收藏