You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

How to use a bookmark link in web pages that safely sets up a bookmark in the user's browser or sending it to a bookmarking site.

AddThis Social Bookmarking tool


Browser Bookmark Process

Add the following to your head section please:
Code:

<script type="text/javascript">
function bookmarksite(title,url){
if (window.sidebar) // firefox
    window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
    var elem = document.createElement('a');
    elem.setAttribute('href',url);
    elem.setAttribute('title',title);
    elem.setAttribute('rel','sidebar');
    elem.click();
}
else if(document.all)// ie
    window.external.AddFavorite(url, title);
} </script>


Add the following to your body section please:
Code:
<a href="javascript:bookmarksite('Site Title', 'http://www.example.com')">Bookmark this site!</a>

Edit the body code by entering your site's title replacing Site Title, and then enter your site's homepage url to replace http://www.example.com


..........................................................
DragonMaster Jay
Owner/Administrator/Operator Cheetah-Fast Services
Advanced Malware Analysts Group Owner


Kaspersky E-Store Kaspersky Anti-Virus 2012: Click Here
View user profile
Share this post on: Excite BookmarksDiggRedditDel.icio.usGoogleLiveSlashdotNetscapeTechnoratiStumbleUponNewsvineFurlYahooSmarking

Post on Sun Mar 08, 2009 8:09 pm by DragonMaster Jay

Register for Help My Operating System or login to leave comments!

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum