Created
September 11, 2008 14:39
-
-
Save greut/10234 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<script type="text/javascript"> | |
if (navigator.appName == 'Netscape') | |
var language = navigator.language; | |
else if (navigator.appName == 'Microsoft Internet Explorer') | |
var language = navigator.browserLanguage; | |
if (language.indexOf('en') > -1) document.location.href = '/en/index.jsp'; | |
else if (language.indexOf('de') > -1) document.location.href = '/de/index.jsp'; | |
else | |
document.location.href = '/de/index.jsp'; | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment