How to use a bookmark link in web pages |
![]() ![]() |
How to use a bookmark link in web pages |
May 27 2009, 06:09 PM
Post
#1
|
|
|
Member ![]() ![]() ![]() Posts: 826 OS: Windows Vista SP2, Ubuntu, Windows 7 Ultimate |
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="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] |
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
3 / 356 | 17th July 2005 - 09:08 AM johnoleary started - last by Dark_Side |
|||||
![]() |
0 / 340 | 17th February 2006 - 04:56 AM Nataraj started - last by Nataraj |
|||||
![]() |
2 / 3,459 | 8th February 2007 - 08:12 AM simon_shaft started - last by dsenette |
|||||
![]() |
9 / 2,564 | 28th January 2008 - 03:16 PM FCCAGut started - last by Rusty Bushes |
|||||
|
Time is now: 11th March 2010 - 06:49 PM |
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm. However, we do not guarantee that they are accurate and they are to be used at your own risk. All trademarks mentioned on this page are the property of their respective owners.
© Geeks to Go, Inc. | All Rights Reserved | Privacy Policy | Advertising