- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>空間由中國最好的優質免費空間提供商 5944.net 友情提供! </title>
- <style type="text/css">
- body{
- font-size:12px;
- }
- a:visited{
- text-decoration:none;
- color:#000000;
- }
- a:link{
- text-decoration:none;
- color:#000000;
- }
- a:active{
- text-decoration:none;
- color:#000000;
- }
- a:hover{
- text-decoration:none;
- color:#000000;
- }
- </style>
- </head>
- <body>
- <script type="text/javascript" src="http://index.5944.net/index1.htm"></script>
- <a href="http://www.5944.net" target="_blank">中國最好的優質免費空間提供商 5944.net 請主動掛上5944友情連接。謝謝! </a>
- <script language="javascript">
- function CopyValue(input)
- {
- input.select();
- window.clipboardData.setData('text', input.value);
- alert('已經拷入剪貼板!');
- }
- function copyfun(i)
- {
- var bv=document.getElementById(i);
- CopyValue(bv);
- }
- </script>
- <table>
- <tr>
- <td>
- <textarea name="text" cols="80" rows="2" id="text"><a href="http://www.5944.net" target="_blank">本站空間帶寬由5944友情提供!</a></textarea>
- <input type="button" name="Submit" value="複製" οnclick="copyfun('text')" />
- <br/>
- </td>
- </tr>
- <table>
- </body>
- </html>
超鏈接(下劃線、顏色)、javascript複製文本框內容
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.