JavaScript:设为首页-加入收藏-联系我们的代码

来源:互联网 发布:npm install 淘宝镜像 编辑:程序博客网 时间:2024/04/29 12:49

出处:http://blog.csdn.net/gztoby/archive/2004/08/13/74254.aspx

<a class=top href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.csdn.net');" >设为首页</a> <a class=top href="#" onclick=window.external.AddFavorite(location.href,document.title);>加入收藏</a> <a href="mailto:xxsj@ggyyy.com" class=top>联系我们</a>