修复 "添加网摘:" 从k-zone读取图片的bug
修改 “PLUGIN\wz\wz.js” 如下:
var url="http://你blog的路径/"
document.write(" <a href=\"javascript:location.href='http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"><img src='"+url+"PLUGIN/WZ/google.gif' alt='Google书签' border='0'></a> ");
document.write(" <a href=\"javascript:location.href='http://del.icio.us/post?&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"><img src='"+url+"PLUGIN/WZ/delicious.gif' alt='Del.icio.us' border='0'></a> ");
document.write(" <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://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'yahoo','scrollbars=no,width=720,height=420,left=75,top=20,status=no,resizable=yes'));vivi.focus();\"><img src='"+url+"PLUGIN/WZ/yahoo.gif' alt='Yahoo书签' border='0'></a> ");
document.write(" <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://vivi.sina.com.cn/collect/icollect.php?pid=28&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();\"><img src='"+url+"PLUGIN/WZ/vivi.gif' alt='新浪ViVi' border='0'></a> ");
document.write(" <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://z.sohu.com/storeit.do?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();\"><img src='"+url+"PLUGIN/WZ/sohuz.gif' alt='搜狐网摘' border='0'></a> ");
document.write(" <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://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();\"><img src='"+url+"PLUGIN/WZ/365key.gif' alt='365Key网摘' border='0'></a> ");
document.write(" <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','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();\"><img src='"+url+"PLUGIN/WZ/yesky.gif' alt='天极网摘' border='0'></a> ");
document.write(" <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://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,status=no,resizable=yes'));keyit.focus();\"><img src='"+url+"PLUGIN/WZ/poco.gif' alt='POCO网摘' border='0'></a> ");
document.write(" <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'));\"><img src='"+url+"PLUGIN/WZ/hexun.gif' alt='和讯网摘' border='0'></a> ");
document.write(" <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://www.bolaa.com/CommendBlog/SmallLogin.aspx?title='+escape(d.title)+'&newspath='+escape(d.location.href)+'&subtitle='+escape(t),'bolaa','width=400px,height=400px'));blog.focus();\"><img src='"+url+"PLUGIN/WZ/bolaa.gif' alt='博拉网' border='0'></a> ");
修复“最热文章TOP15”的错误显示
修改“\PLUGIN\randomsort\blog.asp”操作:
查找
strtopmonth = strtopmonth & "<ul class=""counts"" height=""4""><a href=""" & objArticle.Url & """>" & cutStr(objRS("log_Title"),intCutLen) & "</a></ul>"
替换为
strtopmonth = strtopmonth & "<li><a href=""" & objArticle.Url & """>" & cutStr(objRS("log_Title"),intCutLen) & "</a></li>"
修复“首页点 add comments 按钮,无法跳转到在文章页comments界面”的不足
( //由于ie7我把延迟改到了1000现在看来问题不大 )
TEMPLATE\b_article-single.html
最底部加如下JS代码:
<script type="text/javascript">
pageUrl = window.location;
pageUrl = pageUrl.toString();
var Parameter = pageUrl.split("#");
Parameter = Parameter[1];
if (Parameter == "comments") {
Effect.toggle("hidecomments","slide");
setTimeout("location.href='#comments';",500);
}
</script>
[ 本帖最后由 emj365 于 2007-10-7 09:05 编辑 ]