首页 JQuery/JavaScript 设为首页加入收藏代码

设为首页加入收藏代码

作者:胡同里的砖头 围观群众:2283 更新于:2013-12-19

设为首页代码

1.图片链接

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

2.文字型:

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

3.按钮型:

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

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

<A href="http://www.qipao8.com/" onmouseover="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://www.wangkewang.com');" target="_blank">设为首页</A>

加入收藏代码
1.

<a href="#" onclick="javascript:window.external.AddFavorite('http://www.wangkewang.com','中国网客网')" 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="mailto:spcx1709@126.com">与我联系</a>

  • 本文标题: 设为首页加入收藏代码
  • 文章分类:【JQuery/JavaScript】
  • 非特殊说明,本文版权归【胡同里的砖头】个人博客 所有,转载请注明出处.
留言评论
站点声明:
1、本站【胡同里的砖头】个人博客,借鉴网上一些博客模板,取其各优点模块自行拼装开发,本博客开发纯属个人爱好。
2、所有笔记提供给广大用户交流使用,可转载,可复制,纯个人开发所遇问题锦集记录使用
Copyright © huzlblog.com All Rights Reserved. 备案号:苏ICP备2021056683号-8