Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

How to use a bookmark link in web pages


  • Please log in to reply

#1
DragonMaster Jay

DragonMaster Jay

    Member

  • Banned
  • PipPipPip
  • 826 posts
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:

<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:
<a href="java script: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 [url="http://www.example.com/"]http://www.example.com[/url]

  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP