Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 4 of 4
  1. #1
    you heard me..
    tres's Avatar
    Join Date
    Oct 2003
    Location
    AcmeDomains.com
    Posts
    474
    DNF$
    5,612
    Bank
    0
    Total DNF$
    5,612
    Donate  

    A bookmark link that works in firefox

    This script will create a link that will add the current page to a visitors favorites / bookmark menu in both Firefox and IE.


    Code:
    <script language="JavaScript1.2" type="text/javascript">
    function addBookmark(title,url) {
        if (window.sidebar) {
            window.sidebar.addPanel(title, url,"");
        } else if( document.all ) {
            window.external.AddFavorite( url, title);
        } else if( window.opera && window.print ) {
            return true;
        }
    }
    </script>
    
    <a href="javascript:void(addBookmark('Window Title', window.location.href));">Bookmark Us</a>
    Last edited by tres; 05-31-2005 at 01:41 PM.

  2. #2
    Former DNF Admin
    MediaHound's Avatar
    Join Date
    Feb 2004
    Location
    Florida
    Posts
    4,896
    Blog Entries
    1
    DNF$
    15,985
    Bank
    0
    Total DNF$
    15,985
    Donate  

    Re: A bookmark link that works in firefox

    thats neat, tried it with Mozilla and it works

  3. #3
    Gold Lifetime Member

    Join Date
    Apr 2006
    Location
    Sweden
    Posts
    1
    DNF$
    122
    Bank
    0
    Total DNF$
    122
    Donate  

    Re: A bookmark link that works in firefox

    it works but in firefox it bookmarks it with "Load this bookmark in the sidebar" options selected.

    is there somethink to change in the code to avoid this?

  4. #4
    Platinum Lifetime Member
    bobby9101's Avatar
    Join Date
    Jun 2005
    Posts
    727
    DNF$
    436
    Bank
    0
    Total DNF$
    436
    Donate  

    Re: A bookmark link that works in firefox

    old thread i know but i have same question as above

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
  •  

Domain name forum recommended by Domaining.com