Hi,

I'm trying to setup a "bookmark this site" link , but for some reason I can't get the code working. I've found this online, which works fine in FF, but not IE:

Code:
<script type="text/javascript"> 
function bookmark_us(url, title){
if (window.sidebar) // firefox
 window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
 var elem = document.createElement('a');
 elem.setAttribute('href',url);
 elem.setAttribute('title',title);
 elem.setAttribute('rel','sidebar');
 elem.click();
}
else if(document.all)// ie
 window.external.AddFavorite(url, title);
}
</script>
Is anyone aware of a better script, which works across the different browsers?

TIA

Andy