您的位置:首页 > 数据库

jdbc 使用properties导入数据库信息2

2014-05-16 19:22 330 查看
这里有一个例子,是打开和一个图象大小的窗口,随图象大小任意变化,你可以相似发挥。要看更多的请到   http://elove.heha.net  
   
  <SCRIPT   LANGUAGE="JavaScript">  
  var   isNav4,   isIE4;  
  if   (parseInt(navigator.appVersion.charAt(0))   >=   4)   {  
  isNav4   =   (navigator.appName   ==   "Netscape")   ?   1   :   0;  
  isIE4   =   (navigator.appName.indexOf("Microsoft")   !=   -1)   ?   1   :   0;  
  }  
  function   fitWindowSize()   {  
  if   (isNav4)   {  
  window.innerWidth   =   document.layers[0].document.images[0].width;  
  window.innerHeight   =   document.layers[0].document.images[0].height;  
  }  
  if   (isIE4)   {  
  window.resizeTo(500,   500);  
  width   =   500   -   (document.body.clientWidth   -     document.images[0].width);  
  height   =   500   -   (document.body.clientHeight   -     document.images[0].height);  
  window.resizeTo(width,   height);  
        }  
  }  
  </script>



Lib 2007-06-14 16:26 发表评论
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: