|
|
行 1: |
行 1: |
| <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> | | <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> | | </html> |