2010-6-21 01:55
kxblog
免费将文章分享收藏到QQ书签/百度搜藏/Google书签/新浪ViVi/雅虎收藏
目前网络流行社会化[color=#ff00ff]分享、收藏[/color],相信很多网站主也都在自己的站点或者博客上添加了各种社会化网页分享/收藏按钮,以方便访客们收藏分享我们的文章。现在就把自己的一些“[color=#ff0000]分享收藏到QQ书签/百度搜藏/Google书签/新浪ViVi/雅虎收藏[/color]”等代码分享给需要的广大朋友,希望大家喜欢!
[color=#ff0000]代码如下:[/color]
[img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/qq.gif[/img]
<a href=javascript:window.open(‘[url=http://shuqian.qq.com/post?from=3&]http://shuqian.qq.com/post?from=3&[/url];title=’+encodeURIComponent(document.title)+’&uri=’+encodeURIComponent(document.location.href)+’&jumpback=2&noui=1′,’favit’,”);void(0)><img src=”更换成自己的图片地址/images/qq.gif” alt=”QQ书签” border=”0″ height=”16″ width=”16″></a>
[img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/baidu.jpg[/img]
<a href=”javascript:u=location.href;t=document.title;c = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);var url=%22[url=http://cang.baidu.com/do/add?it=%22+encodeURIComponent]http://cang.baidu.com/do/add?it=%22+encodeURIComponent[/url](t)+%22&iu=%22+encodeURIComponent(u)+%22&dc=%22+encodeURIComponent(c)+%22&fr=ien#nw=1%22;window.open(url,%22_blank%22,%22scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes%22); void 0″><img src=”更换成自己的图片地址/images/baidu.gif” alt=”百度搜藏” border=”0″ height=”16″ width=”16″></a>
[img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/gg.jpg[/img]
<a href=”javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(‘[url=http://www.google.com/bookmarks/mark?op=edit&]http://www.google.com/bookmarks/mark?op=edit&[/url];amp;output=popup&bkmk=’+c(b.location)+’&title=’+c(b.title),’bkmk_popup’,'left=’+((a.screenX||a.screenLeft)+10)+’,top=’+((a.screenY||a.screenTop)+10)+’,height=420px,width=550px,resizable=1,alwaysRaised=1′);a.setTimeout(function(){d.focus()},300)})();”><img src=”更换成自己的图片地址/images/google.gif” alt=”Google书签” border=”0″ height=”16″ width=”16″></a>
[img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/sina.jpg[/img]
<a target=_self href=”javascript:d=document;t=d.selection?(d.selection.type!=’None’?d.selection.createRange().text:”):(d.getSelection?d.getSelection():”);void(vivi=window.open(‘[url=http://vivi.sina.com.cn/collect/icollect.php?pid=free9.net&]http://vivi.sina.com.cn/collect/icollect.php?pid=free9.net&[/url];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();” target=”_blank”><img src=”更换成自己的图片地址/images/vivi.gif” alt=”新浪ViVi” border=”0″ height=”16″ width=”16″></a>
[url=http://www.lrzdd.com/?p=1774#][img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/yahoo.jpg[/img][/url]
<a href=”#” onclick=”window.open(‘[url=http://myweb.cn.yahoo.com/popadd.html?url=]http://myweb.cn.yahoo.com/popadd.html?url=[/url]’+encodeURIComponent(document.location.href)+’&title=’+encodeURIComponent(document.title), ‘Yahoo’,'scrollbars=yes,width=780,height=550,left=80,top=80,status=yes,resizable=yes’);”><img src=”更换成自己的图片地址/images/yahoo.gif” alt=”雅虎收藏” border=”0″ height=”16″ width=”16″></a>
效果图:[img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/qq.gif[/img] [img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/baidu.jpg[/img] [img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/gg.jpg[/img] [img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/sina.jpg[/img] [url=http://www.lrzdd.com/?p=1774#][img=33,33]http://www.lrzdd.com/wp-content/uploads/2010/06/yahoo.jpg[/img][/url]
效果演试网址:[url=http://www.lrzdd.com/?p=1820]http://www.lrzdd.com/?p=1820[/url]
[[i] 本帖最后由 kxblog 于 2010-6-21 01:57 编辑 [/i]]