"Test" 修訂間的差異

出自 Tw.18dao.net
前往: 導覽搜尋
行 1: 行 1:
<html><script type="text/javascript" src="http://ipshu.com/test.js?type=loca"></script></html>
+
<html>
 +
<p>样式一</p>
 +
<div style="width:600px; height:200px; border:1px #000000 solid;">
 +
<script type="text/javascript" src="test.js?type=myip"></script>
 +
<textarea name="style1" class="addLink" cols="60" rows="3" style="width:98%">
 +
<script type="text/javascript" src="http://ipshu.com/test.js?type=myip"></script>
 +
</textarea>
 +
</div>
 +
 
 +
<p>样式二</p>
 +
<div style="width:600px; height:200px; border:1px #000000 solid;">
 +
<script type="text/javascript" src="test.js?type=myip_location"></script>
 +
<textarea name="style2" class="addLink" cols="60" rows="3" style="width:98%">
 +
<script type="text/javascript" src="http://ipshu.com/test.js?type=myip_location"></script>
 +
</textarea>
 +
</div>
 +
 
 +
 
 +
<p>样式三</p>
 +
<div style="width:600px; height:200px; border:1px #000000 solid;">
 +
<script type="text/javascript" src="test.js?type=loca"></script>
 +
<textarea name="style3" class="addLink" cols="60" rows="3" style="width:98%">
 +
<script type="text/javascript" src="http://ipshu.com/test.js?type=loca"></script>
 +
</textarea>
 +
</div>
 +
 
 +
<script language="javascript">
 +
document.write('<script src="http://ipshu.com/jquery.min.js"><\/script>');
 +
$(document).ready(function() {
 +
        $(".addLink").click( function(){
 +
          $(this).select();
 +
        })
 +
});
 +
</script>
 +
</html>

於 2016年10月28日 (五) 16:03 的修訂

样式一

样式二

样式三