1 $(function(){
 2     start.renderFinishedWorkflowCount();
 3     start.renderTable();
 4     start.setHeight();
 5     $("#queryCondition").bind("keydown",function(event){
 6         start.query(event);
 7     });
 8     if(${not empty param.LCLXBH}){
 9         $("#${param.LCLXBH}").click().addClass('rwTwoHover');
10     }else{
11         if($('#start .rwTwoul li.rw-li').length > 0){
12             $('#start .rwTwoul li.rw-li:first').click().addClass('rwTwoHover');
13         }else if($('#finished .rwTwoul li.rw-li').length > 0){
14             $('#finished .rwTwoul li.rw-li:first').click();
15         }
16     }
17     $('.rwTwoul li.rw-li').click(function(){
18         $('.rwTwoul li.rw-li').removeClass('rwTwoHover');    
19         $(this).addClass('rwTwoHover');
20     });
21     $(window).resize(function(){
22         start.setHeight();
23     });
24 });
View Code

 

posted on 2015-02-04 12:04  MandyLee  阅读(101)  评论(0编辑  收藏  举报