<script>
			    window.onload=function(){
			    	var flag=true;
			    	
			    	$("show").onclick=function(){
			    		flag=!flag;	    		
			    		flag==true?$("img").style.display="block":$("img").style.display="none";
			    	}  	
			    }
			
			//获取标签ID
			function $(id){
				return typeof id==="string"?document.getElementById(id):null;
				
			}
		</script>

  

相关文章:

  • 2021-04-08
  • 2022-12-23
  • 2021-11-28
  • 2021-10-08
  • 2022-01-23
  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
相关资源
相似解决方案