加入收藏设为首页

1. 加入收藏:

<a href="javascript:window.external.AddFavorite(location.href, document.title);" >加入收藏</a>

2. 设为首页:

<a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.jinry.com/');" href="#">设为首页</a> 
   
<input TYPE="button" VALUE=" 设为首页 " onclick="this.style.behavior=’url(#default#homepage)’;this.setHomePage(’http://www.jinry.com/');" href="#"> 

posted on 2011-03-09 15:24  shosky  阅读(208)  评论(0编辑  收藏  举报

导航