代码如下:- <A title=收藏的网页将被永久地保存到新浪ViVi收藏夹http://vivi.sina.com.cn 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=<{$web.url}>&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="<{$web.img_dir}>/vivi.gif" border=0></A>
复制代码 说明:
1、如果你用的是HBCMS直接将上述代码粘贴到模板的相应位置,重新生成页面就可以了。
2、如果是其它的CMS,请将<{$web.url}>部分设置为你的网站地址,如:http://www.lemuria.com.cn/,将<{$web.img_dir}>部分修改为vivi.gif图片的路径。
请将vivi.gif另存为,然后上传到相应目录。HBCMS上传到模板图片目录。 |