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/>
在这段代码后面加入文摘的代码,文摘代码可以再网上找到很多,我这个不全:
引用内容 引用内容
文摘代码:
<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
('
    发表评论
    请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
    用户名: 验证码:点击我更换图片
    最新评论 更多>>

    推荐热点

    • 火车头采集器dedecms织梦5.7图集发布模块的制作方法
    • PJBLOG页面广告投放终极攻略教程(威客365版)
    • 手动修改实现日志标题左侧小日历效果

    新闻关注排行榜

    热门推荐 最新推荐
    网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
    Copyright © 2008-2015 计算机技术学习交流网. 版权所有

    豫ICP备11007008号-1