Welcome to TalkGraphics.com
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Location
    Regional Victoria (Australia)
    Posts
    109

    Default Re: Bookmark this site

    Quote Originally Posted by Big Frank View Post
    add this code to the head of your page

    Code:
    <script type="text/javascript">
    
    function bookmarksite(title,url){
    if (window.sidebar) // firefox
        window.sidebar.addPanel(title, url, "");
    else if(window.opera && window.print){ // opera
        var elem = document.createElement('a');
        elem.setAttribute('href',url);
        elem.setAttribute('title',title);
        elem.setAttribute('rel','sidebar');
        elem.click();
    } 
    else if(document.all)// ie
        window.external.AddFavorite(url, title);
    }
    </script>
    add this javascript as a link to where you want people to click

    Code:
    <a href="javascript:bookmarksite('My Great Site', 'http://www.mygreatsite.com')">Bookmark this site!</a>
    Thanks. Did that but I notice that Google Chrome does not seem to work. Any thoughts please?
    terry

  2. #2

    Default Re: Bookmark this site

    Save the attached *cross-browser-bookmark-tweak.xar file.
    To use it, drag and drop the file into your page and position where the bookmark this page message is to appear.
    Works (and tested) in all browsers.

    (*For Web Designer 7 and 8 or Designer Pro 7 and 8 only)
    Attached Files Attached Files

 

 

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
  •