怎样用代码实现链接,使别人能把自己的网站"设为首页","加入收藏"

来源:百度知道 编辑:UC知道 时间:2024/05/28 19:59:14

加入收藏夹,设为首页代码
把以下代码<Body>相应位置
<a target=_top href=javascript:window.external.AddFavorite('http://www.netbei.com','网贝建站 - 专业建站资讯网')>加入收藏</a>
<a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('www.netbei.com');">设为首页</a>

自动(强制)设为首页代码

下载压缩文件,里面有说明:
点击浏览该文件

鼠标指向时提示设为首页

将下列代码插入<body>区中:

<A href="http://www.netbei.com/" onmouseover="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.netbei.com');" target="_blank">设为首页</A>