参考了这个页面http://www.x2y2.com/fisker/
拿了那里的代码,代码如下:
复制内容到剪贴板
代码:
收藏此网页至:
<a href="#" onclick="javascript:location.href='http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)">[Google书签<sup>+</sup>]</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=780,height=455,left=80,top=80,status=yes,resizable=yes');">[雅虎收藏<sup>+</sup>]</a>
<a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400'); return false;hide_delay('bookmark');">[del.icio.us<sup>+</sup>]</a><br />
<a
title="将此文加入365key天天网摘" 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();">
[365KEY]</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 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.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20
,status=no,resizable=yes'));keyit.focus();">[和讯网摘]</a>
<a title="收藏此页到新浪ViVi"
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=wellknow&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();">[新浪ViVi]</a>
<A title="将此文加入Poco网摘" href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&img=http://www.h-strong.com/blog/logo.gif','keyit','scrollbars=no,width=475,height=575,stat
us=no,resizable=yes'));keyit.focus();">[Poco网摘]</A>如果做的好看一些可以在加上
复制内容到剪贴板
代码:
<fieldset>
<legend><b>收藏到网摘:</b></legend>
</fieldset>效果就见那个网站的吧。
[
本帖最后由 tangf 于 2006-8-27 01:44 编辑 ]