定时显示隐藏
1 <script type="text/javascript"> 2 function close2(){ 3 // $('#a').css('display','none'); 4 $('#a').hide(); 5 // alert('message'); 6 } 7 function xianshi2(){ 8 $('#a').css('display','block'); 9 } 10 setInterval('xianshi2()',10000); 11 </script> 12 <div id='a' style="position:fixed;bottom:30px;left:20px;display:none;"> 13 <div style="text-align:right;"> 14 <a href="javascript:void(0);" onclick="close2()" ><img src="images/001-1.png" alt="" /></a> 15 </div> 16 <img src="images/002.png" alt="" /> 17 </div>