男生长得帅女生缘差:网页中设为主页和加入收藏夹代码?
来源:百度文库 编辑:神马品牌网 时间:2024/05/02 12:16:42
<span onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.dabaoku.com');" style="CURSOR: hand">设为首页</span>
<a href="javascript:void(0);" onClick="window.external.AddFavorite(document.location.href,document.title)">加入收藏</a>