<div class="codetitle"> <span><a style="CURSOR: pointer" data="99848" class="copybut" id="copybut99848" onclick="doCopy('code99848')"><u>复代码码</u></a></span> 代码如下:</div> <div class="codebody" id="code99848"> <br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 전환//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br><html xmlns="http://www.w3.org/1999/xhtml"> <br><머리> <br><제목></제목> <br><style type="text/css"> <br>#img1 <br>{ <br>너비: 500px; <br>높이: 400px; <br>테두리: 단색 1px #ccc; <br>디스플레이:없음; <br>} <br></style> <br><script src="jquery-1.9.1.js" type="text/javascript"></script> <br><script type="text/javascript"> <br>var 개수 = 0; <br>$(function () { <br>$('#Button1').click(function () { <br>if (count % 2 != 0) { <br>$('#img1'). hide(5000); <br>} <br>else { <br>$('#img1').show(5000) <br>} <br>개수 <br>}) <br>}) 🎜></script> <br></head> <br><본문> <br><form id="form1" runat="server"> <br><div> <br><img id="img1" src="images/1.jpg" /> <br><input id="Button1" type="button" value="点我看看" /> <br></div> <br></form> <br></body> <br></html> <br><br> </div>