js 设为首页 加入收藏
2009-06-10 21:47
357 查看
<!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>
相关文章推荐
- 设置首页、加入收藏兼容IE、火狐、谷歌浏览器JS解决方案
- js代码 设为首页 加入收藏
- js 设为首页 加入收藏
- js 设为首页、加入收藏
- js 设为首页 加入收藏
- Js实现设为首页和加入收藏功能
- js加入收藏设为首页
- js代码 设为首页 加入收藏
- js代码 设为首页 加入收藏
- js 加入收藏,设为首页
- 兼容各种浏览器的‘设为首页’和‘加入收藏’的js代码
- JS 设置首页加入收藏
- 设为首页代码和加入收藏JS代码(未测试)
- js 设为首页 加入收藏
- 设为首页,和加入收藏js代码
- js代码 设为首页 加入收藏
- js 设为首页 加入收藏
- 设为首页 加入收藏的js代码
- 设为首页与加入收藏的JS代码(多浏览器支持)