文章推薦給好友的2個代碼
發(fā)表時間:2023-05-25 來源:明輝站整理相關軟件相關文章人氣:
[摘要]<script> function copyCode(o){o.select();var js=o.createTextRange();js.execCommand("Co...
<script>
function copyCode(o){o.select();var js=o.createTextRange();js.execCommand("Copy");alert("復制成功!");}
document.write("<table align=center class=tableborder1 cellpadding=1 cellspacing=0><tr>");
document.write("<td width=10% nowrap class=tablebody1><b>本頁URL地址(雙擊復制)</b>:</td>");
document.write("<td class=tablebody1><textarea onfocus=this.select() style='width:100%;overflow-y:visible;' ondblclick=copyCode(this) rows=1>");
document.write(self.location+"</textarea></td></tr></table>");
</script>
<br>
<!--{if $post['number'] == 1}-->
<div class="maxspeed altbg1" style="float: left; text-align: left;border-top:15px none; ; height:19px">
<div class="vtds center">
<b>收藏到</b> [<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=http://www.jobui.com&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();" title="收藏的網頁將被永久地保存到新浪ViVi收藏夾http://vivi.sina.com.cn"><font color="#FF6600">新浪ViVi</font></a>]
<font color="#4CB509"></font>[<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'_blank','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));" title="收藏到POCO網摘http://share.poco.cn"><font color="#4cb509">;POCO網摘</font></a>] [<a title=將本文加入天極網摘 http://hot.yesky.com href=javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus(); style=text-decoration: none>天極網摘</a>]
[<a title=將本文加入和訊網摘 href=javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://bookmark.hexun.com/post.aspx?title='+escape(d.title)+'&url='+escape(d.locationhref)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus(); style=text-decoration: none><font color="#0000ff">和訊網摘</font></a>] [<a href="javascript:window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(document.title.substring(0,76))+'&iu='+encodeURIComponent(location.href)+'&fr=ien#nw=1','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0"><font color="#FF6600">百度搜藏</font></a>] [<a href="javascript:window.open('http://shuqian.qq.com/post?title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','width=960,height=600,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><font color=#0000ff>QQ書簽</font></a>]</div>
</div>
<!--{/if}-->
<!--復制地址開始-->
<input type="button" name="Submit" value="復制文章給QQ/MSN上的好友">
<script language="javascript">
function copyToClipBoard(){ var clipBoardContent="";
clipBoardContent+=document.title; clipBoardContent+="";
clipBoardContent+="網址是:"; clipBoardContent+="";
clipBoardContent+=this.location.href; clipBoardContent+="";
clipBoardContent+=", 你看一下吧!";
window.clipboardData.setData("Text",clipBoardContent); alert("復制成功, 請粘貼到你的QQ/MSN上推薦給你的好友"); } </script>
<!--復制地址結束-->
網站建設是一個廣義的術語,涵蓋了許多不同的技能和學科中所使用的生產和維護的網站。