怎么样得到浏览器 编码 进来看看 是这样的 公司 要做一个 根据 访问者 是否是国外的, 而 更换 页面上内容的的语种批图说是国内的那么就是 中文 ,如果是 国外的 就用e文页面是不是那种可以选择 是那种 语言的, 所以我想间接 由 浏览器的 编码方式 来判断 是否是 国外的或者提供一些`` 别的方发啊`` 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script>document.write(navigator.systemLanguage)</script> 应用: <script> if(navigator.systemLanguage=="zh-cn"){ location.replace("中文页面"); } else location.replace("英文页面"); </script> *****************************************************************************欢迎使用CSDN论坛阅读器 : CSDN Reader(附全部源代码) http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html 用JS是一种不错的方法。顶!<script> if(navigator.systemLanguage=="zh-cn"){ location.replace("中文页面"); } else location.replace("英文页面"); </script> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><script> if(navigator.systemLanguage=="zh-cn"){ location.replace("china.html"); } if(navigator.systemLanguage=="en"){ location.replace("english.html"); }</script><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>index</title></head><body></body></html> 为什么 子可以转到 html 后缀的 额不可以 到 aspx 后缀的``???? ajax入门的代码呃,怎么这个我找了一上午都不知道错哪了,点按钮后没反应啊 【求正则】 大伙来看看 请教水晶报表的使用 ============求这样的sql语句如何写?有点难度! 我想控制datagrid的显示行数,请问怎么弄? 如何根据要求移动图片 SmtpMail.Send的问题 用程序获取城市相关的信息该怎么做? 请教在DataGrid中弹出Confirm界面的问题 如何将数据库中的时间日期格式转换成短日期格式,并绑定到datalist中 SQL中image数据还原到.net的Image控件中!!! 请问怎么将word转html格式
应用:
<script>
if(navigator.systemLanguage=="zh-cn"){
location.replace("中文页面");
}
else location.replace("英文页面");
</script>
*****************************************************************************
欢迎使用CSDN论坛阅读器 : CSDN Reader(附全部源代码)
http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html
if(navigator.systemLanguage=="zh-cn"){
location.replace("中文页面");
}
else location.replace("英文页面");
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
if(navigator.systemLanguage=="zh-cn"){
location.replace("china.html");
}
if(navigator.systemLanguage=="en"){
location.replace("english.html");
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>index</title>
</head><body>
</body>
</html>