This is the way I do it - works in IE6. See my site to check it out.
Code:
function doBookmark(url,pagetitle)
{
//code for IE4+ on win32
if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0" && navigator.platform == "Win32")
{
window.external.AddFavorite(url, pagetitle);
}
//This code posts text if not
else
{
window.alert('Hit Ctrl-D (Command-D on a Mac) to bookmark this page. You can edit the bookmark by entering this URL - ' + url + ' - and the following title \"' + pagetitle + '\"');
}
}
in Flash do this
Code:
getUrl("javascript:doBookmark('http://www.webqs.com','webQS.com - web development')");
//or in a text link code this
<a href="javascript:doBookmark('http://www.webqs.com','webQS.com - web development')">Bookmark</a>
This should work
Cheers
James