JAVASCRIPT:收藏夹源码
function addFav()
{
tit = parent.document.title;
t = tit.replace(/\s/g,"@@@");
u = window.top.location.href;
e = document.selection?(document.selection.type!='None'?document.selection.createRange().text:''):(document.getSelection?document.getSelection():'');
void(open('http://www.3608.com/users/favorite/favorite_box.asp?title='+escape(t)+'&url='+escape(u)+'&excerpt='+escape(e),'全游网收藏夹','scrollbars=no,width=500,height=300,left=80,top=80,status=no,resizable=yes'));
}
{
tit = parent.document.title;
t = tit.replace(/\s/g,"@@@");
u = window.top.location.href;
e = document.selection?(document.selection.type!='None'?document.selection.createRange().text:''):(document.getSelection?document.getSelection():'');
void(open('http://www.3608.com/users/favorite/favorite_box.asp?title='+escape(t)+'&url='+escape(u)+'&excerpt='+escape(e),'全游网收藏夹','scrollbars=no,width=500,height=300,left=80,top=80,status=no,resizable=yes'));
}
浙公网安备 33010602011771号