...

View Full Version : Bookmarking



danielwarner
05-15-2007, 01: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);
}else{
alert('Sorry, your browser doesn\'t support Automated Bookmarking. Please manually add the bookmark.');
}
}

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum