This is the code we are currently using on our site, and it works just fine in Firefox 1.0.7:
Code:
<a href="#" onmousedown="addBookmark('DCEvolution','http://dcevolution.net/')" onmouseover="return overlib('Bookmark us.')" onmouseout="return overlib('www.dcevolution.net - www.dcevo.com',DELAY, 1000);"><img src="./images/bookmark.gif" alt="Bookmark" width="10" height="28" border="0" /></a>
and this is the js code for that function:
Code:
function addBookmark(title,url) {
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}
I think that's all there is to it on our site (I'm not sure, as that code is legacy code from our last programmer - before my time).