Commit 51727eeb by cc150520900118

删除测试和无用代码

parent 4ff4a5ec
...@@ -29,11 +29,5 @@ ...@@ -29,11 +29,5 @@
</div> </div>
</div> </div>
</div> </div>
<script type="text/javascript" src="static/js/ajax.js"></script>
<%--<form action="relogin" method="post">
username:<input type="text" name="username"><br />
Password:<input type="password" name="password"><br />
<input type="submit" value="登陆">
</form>--%>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -35,7 +35,6 @@ function getTopWinow(){ ...@@ -35,7 +35,6 @@ function getTopWinow(){
//height 弹窗高度(比例) //height 弹窗高度(比例)
var myWindow; var myWindow;
function openWin(url, name, width, height) { function openWin(url, name, width, height) {
debugger;
var w_percent = width ? width : 9;//如果参数未传,则取9 var w_percent = width ? width : 9;//如果参数未传,则取9
var h_percent = height ? height : 8; var h_percent = height ? height : 8;
var widths = (window.screen.availWidth) * w_percent / 10; var widths = (window.screen.availWidth) * w_percent / 10;
...@@ -57,7 +56,6 @@ function openWin(url, name, width, height) { ...@@ -57,7 +56,6 @@ function openWin(url, name, width, height) {
myWindow.close(); myWindow.close();
myWindow = null; myWindow = null;
} }
debugger;
myWindow = window.open(url, name, 'scrollbars=yes,width=' + widths + ',height=' + heights + ',left=' + iLeft + ',top=' + iTop + ''); myWindow = window.open(url, name, 'scrollbars=yes,width=' + widths + ',height=' + heights + ',left=' + iLeft + ',top=' + iTop + '');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment