nbsp; 58. var t = 0; 59. if(intervalTime == 'undefined' || intervalTime == null){ 60. t = 3000; 61. }else{ 62. try{ t = parseInt(intervalTime);}catch(e){ t = 3000;} 63. } 64. this.speed = t; 65. var navList = "#" + cid + "NavCon a"; 66. this.appMaxNum = $(navList).size(); 67. if(0 == this.appMaxNum){ return; } 68. var _this = this; 69. $(navList).each(function(i){ 70. $(this).css({'padding':'2px 5px','margin-right':'2px','background-color':'#CCCCCC'}); 71. if(i == 0){ 72. $(this).css({'background-color':'#333333','color':'#FFFFFF'}); 73. } 74. $(this).mouseover(function(){ 75. _this.playData=i+'xstop'; 76. _this.appTab(i); 77. }); 78. $(this).mouseout(function(){ 79. _this.playData=i+'xplay'; 80. _this.appTab(i); 81. }); 82. }); 83. } 84.}; //attend: this need jQuery.js support var itemPlayerApp={ author:'shenzhenNBA', version:'v1.0', appMaxNum:0, playData:'1xplay', playerID:"", speed:3000, appPlay:function(){ var f=this.playData.toLowerCase().split('x'); if(f[1]=='play'){ var i; try{i=parseInt(上一页 [1] [2] [3] [4] [5] [6] 下一页
|