Skip to content
Browse files

change load method

  • Loading branch information...
1 parent 53955a6 commit 3cf4655280655f9abe70c19ca18a140294428ced ShiChunhua committed Sep 10, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 class/index.html
  2. +2 −1 class/index.js
View
3 class/index.html
@@ -25,7 +25,6 @@
<!-- SimpleTree control end -->
<!-- current page js and css begin -->
- <script language="javascript" src="index.js"></script>
<link href="index.css" type="text/css" rel="stylesheet">
<!-- current page js and css end -->
</style>
@@ -66,5 +65,7 @@
<!--<div class="root">
designed by xxx@精品课程建设工程
</div>-->
+
+ <script language="javascript" src="index.js"></script>
</body>
</html>
View
3 class/index.js
@@ -179,4 +179,5 @@
$('right').style.width = document.documentElement.clientWidth - 6 - $('left').clientWidth - 7 + 'px';
}
- Handler.add(window,'load',init);
+ //Handler.add(window,'load',init);
+ init();

0 comments on commit 3cf4655

Please sign in to comment.
Something went wrong with that request. Please try again.