现在有代码如下。
<!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>
<title>无标题页</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script></head>
<body>
My Father is big
<div id="google_translate_element" style="display: block">
</div> <script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: "af"}, "google_translate_element");
};
</script> <script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script></body>
</html>这段代码使用Firefox,IE8不兼容,出不来国家
如果用360,谷歌浏览器是可以出来的,并可以很好的使用问:
如何解决Firefox,IE8,不兼容。求代码
<!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>
<title>无标题页</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script></head>
<body>
My Father is big
<div id="google_translate_element" style="display: block">
</div> <script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: "af"}, "google_translate_element");
};
</script> <script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script></body>
</html>这段代码使用Firefox,IE8不兼容,出不来国家
如果用360,谷歌浏览器是可以出来的,并可以很好的使用问:
如何解决Firefox,IE8,不兼容。求代码
下载到本地,并转为utf-8,运行的页面也要转为utf-8由于在下的机子比较老旧,跟不上时代,所以还是在用IE6,没办法测试IE8,但应该还是文件的编码问题