Save To Bookmarks/Favorites
Join the DZone community and get the full member experience.
Join For Free// Cross-browser code for IE/Mozilla
var bookmarkurl="Add full URI here"
var bookmarktitle="Add your title here"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)//IE
window.sidebar.addPanel( bookmarktitle, bookmarkurl, '' );//Moz
}
//add javascript:addbookmark(); to the HTML to call the function
Opinions expressed by DZone contributors are their own.
Comments