欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

设为首页加入收藏代码

发布时间:2025/7/25 编程问答 41 豆豆
生活随笔 收集整理的这篇文章主要介绍了 设为首页加入收藏代码 小编觉得挺不错的,现在分享给大家,帮大家做个参考.
设为首页代码

1.图片链接

<a style="cursor:hand" οnclick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://home.cnblogs.com/jigong/');">
<img width=16 height=16 border=0 src="images/Logo.gif">
<u> 设为首页</u></a>

2.文字型:

<a οnclick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://home.cnblogs.com/jigong/');" href="#">设为首页</a>

3.按钮型:

<input TYPE="button" VALUE=" 设为首页 " οnclick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://home.cnblogs.com/jigong/');" href="#">

4.鼠标指向时提示设为首页

<A href="http://www.qipao8.com/" οnmοuseοver="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://home.cnblogs.com/jigong/');" target="_blank">设为首页</A>

加入收藏代码
1.

<a href="#" οnclick="javascript:window.external.AddFavorite('http://home.cnblogs.com/jigong/','JGblogs')" title="收藏本站到你的收藏夹"><font size="-1" color="#FFE09E">收藏本站</font></a>

2.

<a href="javascript:void(0);" onClick="window.external.AddFavorite(document.location.href,document.title)">加入收藏</a>
加入频道
<a href="typhoon.cdf")>加入频道</a>

邮件链接

<a href=85695571@qq.com>与我联系</a>

转载于:https://www.cnblogs.com/jigong/archive/2010/07/29/1787907.html

总结

以上是生活随笔为你收集整理的设为首页加入收藏代码的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。