Please, i need this help. I want to make a button for bookmarking my site to Browser (To IE or FF). I see it in many site which write with JavaScript.
Did that actually work for you? I remember first doing that and gave up. Ended up searching for how to bookmark for each browser separately and compiled one myself: function bookmark(url, title) { if (window.sidebar) window.sidebar.addPanel(title, url, ""); else if (window.opera && window.print) { var ele = document.createElement('a'); ele.setAttribute('href', url); ele.setAttribute('title', title); ele.setAttribute('rel', 'sidebar'); ele.click(); } else if (window.external) window.external.AddFavorite(url, title); else alert('Use Ctrl-D, Ctrl-T or Ctrl-B depending on your browser to bookmark this page'); } Code (markup): Anyway, I did try googling with a similar query and found: http://www.dynamicdrive.com/dynamicindex9/addbook.htm Shame that wasn't there when I needed it, and anyway, mine's better