发信人: chinasonx()
整理人: snowypeng(2002-05-23 09:29:24), 站内信件
|
你花了好几天做了一个主页,发现另一种浏览器,出现格式乱,或速度慢,解决 明唯一办法是让网页识别浏览器
当你用网景 、微软 IE 同时访问 http://www.sonx.2000c.net 会出现不同页面
1.先做好支持 网景 的主页 ( index.htm )
2.将以代码放入 index.htm 中的 </head> 的上一行
<script TYPE="text/javascript">
<!--
if (navigator.appVersion.substring(0,1) > 3 && navigator.userAgent.ind exOf("MSIE") != -1)
window.location= "ie.htm";
// -->
</script>
3.制作支持微软 IE 的主页 保存为( ie.htm )
4.运行 index.htm
http://sonx.yeah.net
-- ※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.96.117.157]
|
|