页面上调用的方式
<input type="image" src="images/gy45.gif" onClick ="javascript:bookmark(document.title, document.URL);return false" />
实现收藏页面的js
function bookmark(title, url) {
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
07-18
07-18
07-18
07-18
07-18
07-18
07-18
07-18
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交