引用网摘功能的代码

<a href="javascript:sinavivi()"><b>[用新浪ViVi收藏]</b></a><A href="javascript:StorePage();"><b>[天天网摘]</b></A> <a href="javascript:BlogChinaStorePage();"><b>[博采中心]</b></a> 


    <SCRIPT>
function StorePage()
{
d=document;
    title = "<%=log_Title%>-http://bbm.aqtvu.cn";
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(title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=480,left=75,top=20,status=no,resizable=yes'));
keyit.focus();
}

function BlogChinaStorePage()
{
d=document;
title = "<%=log_Title%>-http://bbm.aqtvu.cn";
t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getselection?d.getselection():'');
void(keyit=window.open('http://blogmark.blogchina.com/jsp/key/quickaddkey.jsp?k='+encodeURI(title)+'&u='+encodeURI(d.location.href)+'&c='+encodeURI(t),'keyit','scrollbars=no,width=500,height=430,status=no,resizable=yes'));
keyit.focus();
}
function sinavivi()
{
d=document;
    title = "<%=log_Title%>-http://bbm.aqtvu.cn";
    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=bbm.aqtvu.cn&title='+escape(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();
}
</SCRIPT>

posted on 2005-03-24 17:09  李想  阅读(543)  评论(1编辑  收藏  举报

导航