论坛首页 Web前端技术论坛

使用Blackbird开源JavaScript库時,在IE6+、IE7下無法使用問題說明

浏览 1896 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-10-17  
  在新聞 http://www.iteye.com/news/3832-goodbye-alert-the-use-of-new-information-pop-up-box 發布之后,有人反映在IE6+下會有問題,我做了下測試,在此說明下

在IE6+/IE7下,需要在HTML中寫入以下代碼,否則就會有響應問題,當然在Firefox 2+ 下可以不用加可運行正常:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

例如:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

  <head>
    <script type="text/javascript" src="jsDebug/blackbird.js"></script>
    <link type="text/css" rel="Stylesheet" href="jsDebug/blackbird.css" />
  </head>
 
  <body>
    ...
  <body>
</html>

Blackbird官方站:
http://www.gscottolson.com/blackbirdjs/
   发表时间:2008-10-18  
创意无限,简单实用 javascript-logger
本人自己写的javascript日志工具,大家不妨去看看.

GoogleCode:http://code.google.com/p/dewind/
Download:http://dewind.googlecode.com/files/beta-20081017.rar



0 请登录后投票
论坛首页 Web前端技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics