越来越多的朋友开始使用网络收藏夹收集自己喜欢的文章帖子。中午花了点时间在lbs上添加了4个自己觉得还不错的网络收藏夹。(图片中是为一朋友新设计的LBS皮肤,稍后时间会提供下载)

差点忘记了图片,上传至\styles\default\images文件夹下。
Click Here To Download
添加方式很简单。打开article.asp,找到textbox-title代码段:
<div class=”textbox-title”>
…
</div>
在下面添加代码,如果你还想添加别的网络收藏夹,可以到网站上找寻其js调用代码添加。
<div class=”cang”>
<script type=”text/javascript”>document.write(‘<a href=”javascript:u=location.href;t=document.title;c=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);c=c.substr(0,480);var url=%22http://cang.baidu.com/do/add?it=%22+encodeURIComponent(t)+%22&iu=%22+encodeURIComponent(u)+%22&dc=%22+encodeURIComponent(c)+%22&fr=js#nw=1%22;window.open(url,\’_blank\’,\’scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes\’);void 0″ mce_href=”javascript:u=location.href;t=document.title;c=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);c=c.substr(0,480);var url=%22http://cang.baidu.com/do/add?it=%22+encodeURIComponent(t)+%22&iu=%22+encodeURIComponent(u)+%22&dc=%22+encodeURIComponent(c)+%22&fr=js#nw=1%22;window.open(url,\’_blank\’,\’scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes\’);void 0″><img border=”0″ src=”styles/default/images/cang_baidu.gif” mce_src=”styles/default/images/cang_baidu.gif” border=”0″ align=”absmiddle” title=”收藏的网页将被保存到百度收藏http://cang.baidu.com/”></a>’);</script>
<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)” mce_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=”styles/default/images/cang_qq.gif” mce_src=”styles/default/images/cang_qq.gif” /></a>
<a href=”#” mce_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=550,left=80,top=80,status=yes,resizable=yes’);”><img src=”styles/default/images/cang_yahoo.gif” mce_src=”styles/default/images/cang_yahoo.gif” border=0></a>
<a href=”http://del.icio.us/post” mce_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;”><img src=”styles/default/images/cang_del.gif” mce_src=”styles/default/images/cang_del.gif” /></a>
</div>
CSS部分则添加了一个新类,你可以按照自己位置的需求去调整。
.cang{margin:6px 0 0 5px;}

好东西。
[回复]
你们搞得蛮扎实啊`
[回复]
哈,好地方,这周有空就去逛逛~
[回复]
呵呵。。准备好个大包装DVD。那里的DVD蛮划算的。。
[回复]
对于用盗版成习惯的我,习惯了7块钱一张了
[回复]