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.
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.
Renegade - I'd say the percentage is not high, but every bit helps and these links are very easy to implement.
NIce, I was actually going to look for those then I came across this thread , Thanx for sharing , Rep your way!
Your all very welcome. I've learnt a heap from my time here at DP, so I'm glad to give something back.
Cross Browser (IE6 and FF) "Add to favorites" javascript thingy dynamicdrive.com/dynamicindex9/addbook.htm
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.
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: