Previous     Next

3 links you must have in your Nav bar

Note: This is a repost of a thread I started on Digital Point

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.

<!--[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]–>


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.

<script type="text/javascript">
function bookmarksite(title, url)
{ if (document.all) window.external.AddFavorite(url, title);
else window.sidebar.addPanel(title, url, "")
}
</script>
<a href="javascript:bookmarksite('Useful Site','http://www.yoursite.com')"></a>
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.

<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>


If you liked this, then subscribe to my RSS feed