首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > IIS >

web部署到IIS后无法加载JS解决办法

2012-03-06 
web部署到IIS后无法加载JS!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//ENhtmlhead

web部署到IIS后无法加载JS
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  <title></title>
  <link rel="stylesheet" type="text/css" href="ext-4.0.2a/resources/css/ext-all.css" />  
  <!--link rel="stylesheet" type="text/css" href="ext-4.0.2a/examples/ux/statusbar/css/statusbar.css" /-->
  <style type="text/css">
  *,.x-window-header-text-default,.x-btn-default-toolbar-small .x-btn-inner,.x-menu-item-text,.x-panel-header-text-default, * { font-size:12px; }
  #loading-mask{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  z-index:20000;
  background-color:white;
  }
  #loading{
  position:absolute;
  left:30%;
  top:40%;
  padding:2px;
  z-index:20001;
  height:auto;
  }
  #loading a {
  color:#225588;
  }
  #loading .loading-indicator{
  background:white;
  color:#444;
  font:bold 13px tahoma,arial,helvetica;
  padding:10px;
  margin:0;
  height:auto;
  vertical-align:bottom;
  }
  #loading-msg {
  font: normal 10px arial,tahoma,sans-serif;
  }
  .mainWin-icon {
  background: url(Resources/mainWin-icon.png); 
  }
   
  .x-date-needed a:hover{
  text-decoration:none !important;
  }
  .x-date-needed a {
cursor:hand;
  }
  .x-date-needed a:hover{
  color:#000;
  background-color:#ddecfe;
  }
  .x-date-needed a {
background-color:#fff;
color:#ccc;
  }  
  </style>
  <!-- script type="text/javascript" src="ext-4.0.2a/bootstrap.js"></script -->
  <script type="text/javascript" src="ext-4.0.2a/ext-debug.js"></script>  
  <script src="ext-4.0.2a/locale/ext-lang-zh_CN.js" type="text/javascript"></script> 
  </head>
  <body>
  <div id="loading-mask" style=""></div>
  <div id="loading">
  <div class="loading-indicator"><img alt="" src="loading.gif" width="64" height="64" style="margin-right:8px;float:left;vertical-align:top;"/><div style="vertical-align:text-bottom">4S1P - <font style='color:#225588;'>资源管理系统</font><br /><span id="loading-msg">系统加裁中...</span></div></div>
  </div>  
   
  <script type="text/javascript"> document.getElementById('loading-msg').innerHTML = '加裁核心代码...';</script>  


  <script type="text/javascript" src="ext-4.0.2a/ext-debug.js"></script> 
  <script type="text/javascript"> document.getElementById('loading-msg').innerHTML = '加载通用方法...';</script>
 <script type="text/javascript" src="FrontEnd/Com/ReInfo.js"></script>
  <script type="text/javascript"> document.getElementById('loading-msg').innerHTML = '加载通用方法...';</script>
 <script type="text/javascript" src="FrontEnd/Com/User.js"></script>
  <script type="text/javascript"> document.getElementById('loading-msg').innerHTML = '加载用户对象...';</script>
 <script type="text/javascript" src="App.js"></script>
  <script type="text/javascript"> document.getElementById('loading-msg').innerHTML = '启动系统...';</script>
  <script type="text/javascript">
  //清除加载信息
  //Ext.get('loading-mask').remove();
  //Ext.get('loading').remove();
  </script> 
  </body>
</html>



前台是用Extjs做的 在VS2010上调试成功 但是部署到IIS之后 他就无法加载JS了 

请问有没有人知道是怎么回事?

[解决办法]
捡分!

热点排行