; $('#itemNav'+j).css({'background-color':'#CCCCCC','color':'#000000'}); 28. $('#item'+j).hide('fast'); 29. } 30. } 31. }, 32. appActive:function(){ 33. var _this = this; 34. this.playerID = setInterval(function(){ _this.appPlay(); },this.speed); 35. }, 36. init:function(refContainerId,intervalTime,refWidth,refHeight){ 37. var cid = ""; 38. var w = 300; 39. var h = 200; 40. if(refContainerId == 'undefined' || refContainerId == null || refContainerId == ''){ 41. return; 42. }else{ 43. cid = $.trim(refContainerId); 44. } 45. if(refWidth == 'undefined' || refWidth == null || refWidth == ''){ 46. w = 300; 47. }else{ 48. w = parseInt(refWidth); 49. } 50. if(refHeight == 'undefined' || refHeight == null || refHeight == ''){ 51. h = 200; 52. }else{ 53. h = parseInt(refHeight); 54. } 55. 56. $('#' + cid).css({"position":"relative",'width':w,'height':h,'overflow':'hidden'}); 57. $('#' + cid + "NavCon").css({'color':'#333333','height':'26px','position':'absolute','width':'95%','left':'0','bottom':'3px','text-align':'right','display':'block'});&上一页 [1] [2] [3] [4] [5] [6] 下一页
|