Monday February 6, 2012
News Feeds:

How to add a "Bookmark Us" link to a Website or Blog using Javascript

Print E-mail
Wednesday, 25 March 2009 00:00
A graphical despiction of a very simple html d...

Image via Wikipedia

As you may already know,  many people do not know how to add sites to their favorites bookmarks and  even if they do, visitor do not remember to bookmark a page. By adding a "Bookmark this page link" to your site  you will remind visitors to bokmark your page and this in turn will increase the number of repeat visits to your site.

 

 

 

These are the steps to creating that link.

 

Step - 1
Open your blog or webpage code editor. There will typically be an option in your blog interface or web page design software. The default editing option is usually "Visual" or "WYSIWYG" look for "edit HTML" or "source"  options as you will need to do edit the actual HTML code.


editor

Step - 2
Add the JavaScript below to your HTML code, to do this locate the BODY tag in your page's source code(<body>), you will find it right after the HEAD tag (<head>). You will need to add the code below right after the BODY tag.


code

Step - 3

If you are doing this on a  website, just save your page and upload it to your server . If you are doing this to a blog, just save and publish.

Step - 4

The final step is to test your link to make sure it performs correctly. To do this, open the page with the "Bookmark Us!" link, click on it and you should see the bookmark box of your browser pop up.

Hope this helped.

Reblog this post [with Zemanta]

 

Add comment


Security code
Refresh

Share This!

AddThis Social Bookmark Button
thomas iamge

Sponsored Links

Login

Copyright © 2012. Thomas Collado. Designed by Bumfu.com