PJblog为日志添加文摘/复制地址给QQ好友
来源:网络整理 责任编辑:栏目编辑 发表时间:2013-07-02 03:40 点击:次
首先说为pjblog日志内容下面添加网络文摘快捷入口。
分为动态和静态日志两种,代码是一样的,动态修改class\cls_article.asp
静态修改Template\Article.asp
找到以下代码:
<img src="images/tag.gif" style="margin:4px 2px -4px 0px" alt=""/><strong>Tags:</strong> <$log_tag$><br/>
在这段代码后面加入文摘的代码,文摘代码可以再网上找到很多,我这个不全:
分为动态和静态日志两种,代码是一样的,动态修改class\cls_article.asp
静态修改Template\Article.asp
找到以下代码:
<img src="images/tag.gif" style="margin:4px 2px -4px 0px" alt=""/><strong>Tags:</strong> <$log_tag$><br/>
在这段代码后面加入文摘的代码,文摘代码可以再网上找到很多,我这个不全:
引用内容
文摘代码:
<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','_blank','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));ye
sky.focus();" title="天极网摘:文摘|图摘|闪摘|乐摘 http://hot.yesky.com"><font color="#FF6699">天极网摘</font></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'));
"><font color="#669900">和讯网摘</font></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"><font color="#3399CC">POCO网摘</font></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();"><font color="#CC6633">我摘</font></a>
<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange
().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open
('http://www5.bolaa.com/CommendBlog/SmallLogin.aspx?title='+escape(d.title)+'&newspath='+escape
(d.location.href)+'&subtitle='+escape(t),'bolaa','width=400px,height=400px'));blog.focus();"><font color="#996699">Bolaa推荐网志</font></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
('
<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','_blank','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));ye
sky.focus();" title="天极网摘:文摘|图摘|闪摘|乐摘 http://hot.yesky.com"><font color="#FF6699">天极网摘</font></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'));
"><font color="#669900">和讯网摘</font></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"><font color="#3399CC">POCO网摘</font></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();"><font color="#CC6633">我摘</font></a>
<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange
().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open
('http://www5.bolaa.com/CommendBlog/SmallLogin.aspx?title='+escape(d.title)+'&newspath='+escape
(d.location.href)+'&subtitle='+escape(t),'bolaa','width=400px,height=400px'));blog.focus();"><font color="#996699">Bolaa推荐网志</font></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
('
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>