javascipt设为首页,收藏,打印代码

 

1.

<!--Javascript 设为首页代码-->

<span onclick="var strHref=window.location.href;this.style.behavior='url

(#default#homepage)';this.setHomePage('http://www.ask123.net/');" style="CURSOR: hand">设为首页</span>

2.

<!--Javascript 设为收藏代码-->

window.external.AddFavorite(window.document.location,window.document.title)


3.
<!--Javascript 联系我们代码-->

<a href="mailto:[email protected]">联系我们</a>

 

4.
<!--Javascript 打印代码-->

Javascript:window.print()

 

你可能感兴趣的:(JavaScript,.net,service,url)