本帖最后由 yisung 于 2009-4-4 23:16 编辑
知名网摘(书签)收藏代码html版最新整理版,
把自己站里的好内容收藏到各大网摘,可以给网站带来意想不到的流量,我看很多网站都放了收藏代码,测试了一下网上提供的代码中很多网摘已经停止或者无法使用了,所以整理了最新的可用的网摘代码与各位站长分享。
演示:http://www.saodao.com/shiyongxinxi/shiyonggongju/20090222/qvod.html
方法很简单:
1.将images文件夹解压后上传到网站空间根目录。
2.在网站适当位置添加以下代码即可(演示如文件夹里的“示意图.jpg”,代码里的网摘您可以随意添减):
- <!-- 添加网摘代码开始 -->
- <strong><font color="#0E63E4">收</font><font color="#58C600">藏</font><font color="#996699">到</font><font color="#C00012">网</font><font color="#795f00">摘</font><font color="#327F00">:</font></strong>
- <a href="http://www.onwww.cn/" title="将此页顶到上网摘链" target=_blank><img border="0" src="/images/zhai/z.gif" alt="上网摘链"></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"><img border="0" src="/images/zhai/baidu.gif" alt="Baidu搜藏"></a> <a href="javascript:window.open('http://shuqian.qq.com/post?from=3&title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img src="/images/zhai/qq.gif" alt="QQ书签" border="0" title="QQ书签"></a> <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=2008&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"><img src="/images/zhai/vivi.gif" alt="新浪ViVi" border="0"></a> <a href="#" onclick="window.open('http://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title), 'Yahoo','scrollbars=yes,width=440,height=440,left=80,top=80,status=yes,resizable=yes');"><img src="/images/zhai/yahoo.gif" alt="Yahoo书签" border="0"></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();" title="功能强大的网络收藏夹,一秒钟操作就可以轻松实现保存带来的价值、分享带来的快乐"><img src="/images/zhai/365key.gif" alt="365Key网摘" border="0"></a> <a 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();" title="天极网摘:文摘|图摘|闪摘|乐摘 http://hot.yesky.com"><img src="/images/zhai/yesky.gif" alt="天极网摘" border="0"></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(wozhai=window.open('http://www.wozhai.com/wozhai/Cento.asp#t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'wozhai','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));wozhai.focus();"><img src="/images/zhai/wozhai.gif" alt="我摘" border="0"></a> <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"><img src="/images/zhai/poco.gif" alt="POCO网摘" border="0"></a> <a href="javascript:t=document.title;u=location.href;e=document.selection?(document.selection.type!='None'?document.selection.createRange().text:''):(document.getSelection?document.getSelection():'');void(open('http://bookmark.hexun.com/post.aspx?title='+escape(t)+'&url='+escape(u)+'&excerpt='+escape(e),'HexunBookmark','scrollbars=no,width=600,height=450,left=80,top=80,status=no,resizable=yes'));"><img src="/images/zhai/hexun.gif" alt="和讯网摘" border="0"></a> <a title="鼠标选中部分作为描述,提交到diglog.com" href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.diglog.com/submit.aspx?title='+escape(d.title)+'&url='+escape(d.location.href)+'&description='+escape(t),'keyit','scrollbars=yes,width=500,height=500,left=65,top=20,status=no,resizable=yes'));keyit.focus();"><img src="/images/zhai/digit.gif" border="0" alt="提交新发现,Dig it" /></a> <a href="javascript:{var o=document.createElement('scri'+'pt');o.src='http://img.chouti.com/js/cooperate.js?v='+Math.random();o.id='ct_bookmark_scripts';o.type='text/javascript';o.charset='utf-8';document.body.appendChild(o);void(0);var lug='';}"><img src="/images/zhai/chouti.gif" alt="收藏到抽屉" border="0" /></a> <a href="javascript:location.href='http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"><img src="/images/zhai/google.gif" alt="Google书签" border="0"></a> <a href="javascript:location.href='http://del.icio.us/post?&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"><img src="/images/zhai/delicious.gif" alt="Del.icio.us" border="0"></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(live=window.open('https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url='+escape(d.location.href)+'&title='+escape(d.title)+'&top=1','live','scrollbars=no,status=no,resizable=yes'));live.focus();"><img src="/images/zhai/live.gif" alt="Windows Live" border="0"></a>
- <!-- 添加网摘结束 -->
复制代码 |