PDA

View Full Version : test it



1000000dollar
March 27th, 2002, 21:26
i test to use a language based rediredtion javascript in my website,but my browser language is chinese,so can any one whose browser is English or other language help to test ?tell me which page u are finally redirect to?thanks
http://www.netbizing.com :confused:


<<just made it clickable for you ;)>>

is0lized
March 27th, 2002, 21:40
dont go there :mad:

it will keep redirecting itself some how and freeze up your browser

meow
March 27th, 2002, 22:01
lol! I was hoping mine would crash because I just installed a crash logging software but no go. :p

Of course it will loop! You can't redirect back to the same page. :mad:

------------
if (language.indexOf('en') > -1) document.location.href = 'index.htm';
else if (language.indexOf('zh') > -1) document.location.href·=·'http://www.netearns.com/cn/index.htm';
else
document.location.href = 'index.htm';
-----------

1000000dollar
March 27th, 2002, 22:38
very sorry about my poor javascript.

but is it now ok?which page is it now be redirect to if u use English or other language browser?thanks

is0lized
March 27th, 2002, 22:40
http://www.netbizing.com/indexen.htm

1000000dollar
March 27th, 2002, 22:47
thanks very much :D

is0lized
March 27th, 2002, 22:55
Originally posted by 1000000dollar
thanks very much :D


no problem, you get everything to work all cool?