View Full Version : Bookmarking

05-15-2007, 12:43 PM
I cant figure out why this script isnt working. To me it looks right! Second opinion?

function addbookmark() {
var url = location.href;
var who = document.title;
var ver = navigator.appName
var num = parseInt(navigator.appVersion)
if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) {
var t=window.external.AddFavorite(url,who);
alert('Sorry, your browser doesn\'t support Automated Bookmarking. Please manually add the bookmark.');

05-15-2007, 12:46 PM
Sorry, typo. Spoke too soon! (i edited the code above incase it is useful for anyone else too.)