Quote from: Oldiesmann on October 11, 2004, 12:10:40 PM
As for bookmarks in other browsers, I did some digging and found one that works in both IE and Firefox (not sure about Opera):
<script type="text/javascript" language="JavaScript">
<!--
function bookmark(anchor)
{
if(window.external)
{
window.external.AddFavorite(anchor.getAttribute('href'), anchor.getAttribute('title'));
return false;
}
return true;
}
// -->
</script>
...
<a href="bookmarkurl" rel="sidebar" title="Bookmark title" onclick="return bookmark(this)">Click me!</a>
I would like that script create new folder in bookmarks, is it possible? I mean if i click it here, it creates 'smf' folder in bookmarks, and put this bookmark under that. Make sense?