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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Aug 2003
    Location
    scotland, edinburgh
    Posts
    176
    Thanks
    5
    Thanked 1 Time in 1 Post

    AddFavorite doesn't work anymore

    I am currently trying to make a bookmark link using the window.external.AddFavorite method but I always get the same error message "Object doesn't support this property or method".

    Has window.external.AddFavorite been removed from IE?

    This example doesn't work
    http://www.yourhtmlsource.com/javasc...favorites.html
    Same with this
    http://www.dynamicdrive.com/dynamicindex9/addbook.htm

    Both examples from popular sites both not working for me, there must be something wrong. Could it be my settings?

    Thanks for any help you can give

  • #2
    Regular Coder
    Join Date
    Sep 2005
    Location
    Chicago, IL
    Posts
    160
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I use 'window.external.AddFavorite(url,page_title)' for IE and it works fine.

    You should post the code exactly as your posting it on your site, on here, so we can get a better look at it.
    Last edited by boxxer03; 05-26-2006 at 03:40 AM.
    I'm only telling you how I would do it, not how its supposed to be done. ;)

  • #3
    Regular Coder
    Join Date
    Aug 2003
    Location
    scotland, edinburgh
    Posts
    176
    Thanks
    5
    Thanked 1 Time in 1 Post
    Well the example given here
    http://www.yourhtmlsource.com/javasc...favorites.html

    Uses this code
    Code:
    <a href="javascript:window.external.addFavorite('http://www.website.com','Website Title');">
    Click here to add the homepage to your favorites!</a>
    And I get an Internet Explorer Script Error saying "Object doesn't support this property or method". If it works for you then it must be some setting that's gone wrong on my computer but I have no idea what.

    I am using IE 6.0.3790.1830 if that helps.


  •  

    Posting Permissions

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