SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2002
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Script to add a website to favourites

    Does anyone have a simple script that will add a website to the browser Favourites list?

    Click here to add this website to your favourites button

    dbg

  2. #2
    011521 dbalsdon's Avatar
    Join Date
    Feb 2003
    Location
    North Of Scotland
    Posts
    444
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Daniel Balsdon
    My Site

  3. #3
    Alt+F4= User Control ;-) rabmurdy's Avatar
    Join Date
    Mar 2002
    Location
    Ecosse
    Posts
    398
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
     <A HREF="javascript:window.external.AddFavorite('http://www.yoursite.co.uk/', 'Yoursite')"  onMouseOver="window.status='Add Yoursite.co.uk to your Favourites automatically by clicking here!'; return true;" onMouseOut="window.status='Add Yoursite.co.uk to your Favourites automatically by clicking here!';"  title="Add Yoursite.co.uk to your Favourites automatically by clicking here!">My Favourites</A>
    "If something is too hard,give it up. The moral my boy is too never try anything"
    "Just because I don't care doesn't mean I don't understand"

  4. #4
    SitePoint Enthusiast
    Join Date
    Jul 2002
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Many thanks - just what I needed.

    dbg

  5. #5
    011521 dbalsdon's Avatar
    Join Date
    Feb 2003
    Location
    North Of Scotland
    Posts
    444
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Bill Posters
    The bookmark script you've used (window.external) is only supported by IE/Windows. There is no point in offering a feature that won't work for some visitors.
    from thread http://www.sitepointforums.com/showt...threadid=90270
    Daniel Balsdon
    My Site

  6. #6
    SitePoint Zealot
    Join Date
    Nov 2002
    Location
    Belgium
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    indeed you should not use them since they only work in Internet Explorer and not in Mozilla or Opera for example

  7. #7
    SitePoint Evangelist Mr. Brownstone's Avatar
    Join Date
    May 2002
    Location
    Relative
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If someone has figured out they have a favorites/bookmark facility, chances are they already know how to add a site to it. Why waste precious web-site real-estate on such a pointless “feature”?
    Of course, that's just my opinion. I could be wrong.

  8. #8
    SitePoint Enthusiast
    Join Date
    Jul 2002
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its not so much the doing as knowing how to do!


Bookmarks

Posting Permissions

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