js 设为首页,加入收藏夹
2010-06-30 16:36
309 查看
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题页</title>
</head>
<body>
<a onclick="AddFavorite(window.location,document.title)" style="cursor:hand">加入收藏</a>
<a onclick="SetHome(this,window.location)" style="cursor:hand">设为首页</a>
</body>
</html>
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="25" align="center"><a href="javascript:window.external.AddFavorite('http://<%=web_url%>/','<%=web_title%>');" target="_self" class="lnkfooter">收藏本站</a></td>
</tr>
<tr>
<td height="25" align="center"><a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://<%=web_url%>');return false;" href="#" class="lnkfooter">設為首頁</a></td>
</tr>
<tr>
<td height="5"> </td>
</tr>
</table>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题页</title>
</head>
<body>
<a onclick="AddFavorite(window.location,document.title)" style="cursor:hand">加入收藏</a>
<a onclick="SetHome(this,window.location)" style="cursor:hand">设为首页</a>
</body>
</html>
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="25" align="center"><a href="javascript:window.external.AddFavorite('http://<%=web_url%>/','<%=web_title%>');" target="_self" class="lnkfooter">收藏本站</a></td>
</tr>
<tr>
<td height="25" align="center"><a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://<%=web_url%>');return false;" href="#" class="lnkfooter">設為首頁</a></td>
</tr>
<tr>
<td height="5"> </td>
</tr>
</table>
相关文章推荐
- js设为首页和加入收藏夹
- JS设为首页,加入收藏夹,火狐和ie兼容
- 设为首页JS,加入收藏夹js,加入收藏夹代码,设为首页代码,火狐和ie兼容
- 设为首页JS,加入收藏夹js,加入收藏夹代码,设为首页代码,火狐和ie兼容
- 设为首页JS,加入收藏夹js
- js将网站 加入收藏夹与设为首页方法实现
- JS设为首页,加入收藏夹,火狐和ie兼容
- 加入收藏夹,设为首页,火狐和IE兼容的JS
- 兼容IE、FF的将当前页加入收藏夹和设为首页的js代码
- javascript 设为首页 | 加入收藏夹 JS代码
- asp.net 设置网站为浏览器首页和加入收藏夹
- Js实现设为首页和加入收藏功能
- js---加入收藏夹
- 在Flash中实现设为首页和加入收藏夹
- 动态将当前页设为首页、将当前页加入收藏夹的方法
- js实现加入收藏夹
- js 设为首页 加入收藏
- ASP.NET中怎么样将页面设为首页,加入收藏夹