3 links you must have in your Nav bar

Discussion in 'General Marketing' started by BurgerKing, Oct 25, 2006.

  1. #1
    I have picked up a heap of tips from hanging out here at DP, so I thought I would return the favor.

    I want to make it as easy as possible for visitors to find my sites, and to come back again and again. With that in mind, here are:

    3 links you must have in your Nav bar

    Make us your homepage
    Only works in IE - but this is great. If they click this, then you have them as a constant visitor.

    Add to Favorites
    This is pretty obvious. Once you are in the favorites list, the chances that the visitor will come back get much higher.

    Tell a Friend
    This link runs a script that opens up the email client and populates the subject body with info about your site and a link to it. The visitor then just fills in the 'To' address, and sends it. Great way to make it easy to spread the word about your site.


    The scripts for all these links can be easily found on the net, but if there is enough interest I can post mine.

    Cheers.
     
    BurgerKing, Oct 25, 2006 IP
    affihq and ravianz like this.
  2. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If its not to much trouble id appreciate seeing what scripts you use
     
    Crynos, Oct 25, 2006 IP
  3. Renegade

    Renegade Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What portion of visitors actually use those?
     
    Renegade, Oct 25, 2006 IP
  4. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #4
    OK, I've pulled out the HTML & javascript to make these links.

    Tell a Friend
    <script type="text/javascript">
    function TellAFriend() {
    var initialsubj="Check it out, this site is great";
    var initialmsg="This site is so cool - http://yoursite.com";
    window.location = "mailto:?subject="+initialsubj+"&body="+initialmsg; }
    </script>
    
    <A href="javascript:TellAFriend()" >Tell a Friend</A>
    Code (markup):
    Add to Favorites
    <A href="javascript:window.external.AddFavorite('http://www.yoursite.com','Your Site');" >Add to Favourites</A>
    Code (markup):

    Set as HomePage
    <!--[if IE]>
    <a class='NavHdr' style='cursor:hand;' onMouseOver="this.style.color='blue'" onMouseOut="this.style.color='black'"  href onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.yoursite.com');">Set as homepage</a>
    <![endif]-->
    Code (markup):
    The 'If IE' conditional statements mean that the 'Set as HomePage' link will not be displayed for other browsers, which is good - 'cause it won't work in them.
    Cheers.
     
    BurgerKing, Oct 25, 2006 IP
    sundaybrew and tlainevool like this.
  5. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Renegade - I'd say the percentage is not high, but every bit helps and these links are very easy to implement.
     
    BurgerKing, Oct 25, 2006 IP
  6. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for posting those :)
     
    Crynos, Oct 25, 2006 IP
  7. affihq

    affihq Peon

    Messages:
    329
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thanks for the scripts they are really appreciated!!
     
    affihq, Oct 25, 2006 IP
  8. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #8
    NIce, I was actually going to look for those then I came across this thread , Thanx for sharing , Rep your way!
     
    sundaybrew, Oct 26, 2006 IP
  9. infonote

    infonote Well-Known Member

    Messages:
    4,032
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    160
    #9
    Great scripts, thanks a lot
     
    infonote, Oct 26, 2006 IP
  10. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #10
    Your all very welcome. I've learnt a heap from my time here at DP, so I'm glad to give something back.
     
    BurgerKing, Oct 26, 2006 IP
  11. 2AO

    2AO Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Thanks big time. Sometimes it can be easy to forget about the basics.
     
    2AO, Oct 26, 2006 IP
  12. 2AO

    2AO Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Cross Browser (IE6 and FF) "Add to favorites" javascript thingy

    dynamicdrive.com/dynamicindex9/addbook.htm
     
    2AO, Oct 26, 2006 IP
  13. podoenator

    podoenator Peon

    Messages:
    94
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    great article, thanks
     
    podoenator, Oct 26, 2006 IP
  14. WebMarketingMan

    WebMarketingMan Guest

    Messages:
    138
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Just added these to my site. Thanks a million!
     
    WebMarketingMan, Oct 26, 2006 IP
  15. gatewayink

    gatewayink Peon

    Messages:
    156
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I have been planning this for some time. I will add it now. Thanks for the posting.
     
    gatewayink, Oct 26, 2006 IP
  16. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #16
    i think people must add one more link to their toolbar: Bookmark the Current Page :)
     
    trichnosis, Oct 26, 2006 IP
  17. cormac

    cormac Peon

    Messages:
    3,662
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Add a comments box for the visitor and send a copy to your own inbox. This way you can see what people are saying about your content but can also lead to ideas for more content. ;)
     
    cormac, Oct 26, 2006 IP
  18. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #18
    2AO - thanks for posting the cross-browser version of the script. I'll have to update my sites now!
     
    BurgerKing, Oct 26, 2006 IP
  19. Duality

    Duality Notable Member

    Messages:
    4,054
    Likes Received:
    268
    Best Answers:
    0
    Trophy Points:
    245
    #19
    Thanks for these helpful pieces of information. Any bit of traffic is good. :)
     
    Duality, Oct 26, 2006 IP
  20. balkanboy

    balkanboy Banned

    Messages:
    1,950
    Likes Received:
    245
    Best Answers:
    0
    Trophy Points:
    0
    #20
    There is better script for "Bookmark this site" that works in both FF and IE. I have local html and can't find link but it is from http://www.dynamicdrive.com

    Step 1: Add the below code to the <head> section of your page:
    <script type="text/javascript">
    
    /***********************************************
    * Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    function bookmarksite(title, url){
    if (document.all)
    window.external.AddFavorite(url, title);
    else if (window.sidebar)
    window.sidebar.addPanel(title, url, "")
    }
    
    </script>
    Code (markup):
    Step 2: Create either an image or text link that will be used as the Bookmark Site link. For the href attribute, use the following code:

    javascript:bookmarksite('title_of_site', 'url_of_site')

    Here's an example:
    <a href="javascript:bookmarksite('Dynamic Drive', 'http://www.dynamicdrive.com')">Bookmark this site!</a>
    HTML:
     
    balkanboy, Oct 26, 2006 IP