Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Bookmarking

  1. #1
    Regular Coder
    Join Date
    Oct 2005
    Location
    Surrey, England
    Posts
    286
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Bookmarking

    I cant figure out why this script isnt working. To me it looks right! Second opinion?

    Code:
    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.');
    	}
    }
    Daniel Warner
    - - - - - - - - - -
    GuitarMart.co.uk - Free Online Classified Advertisement for Guitarists in the United Kingdom. Free Ads with a Free Photo.

  • #2
    Regular Coder
    Join Date
    Oct 2005
    Location
    Surrey, England
    Posts
    286
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Sorry, typo. Spoke too soon! (i edited the code above incase it is useful for anyone else too.)
    Daniel Warner
    - - - - - - - - - -
    GuitarMart.co.uk - Free Online Classified Advertisement for Guitarists in the United Kingdom. Free Ads with a Free Photo.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •