|
|
|
|
![]() ![]() |
Mar 21 2006, 12:25 AM
Post
#1
|
|
|
Member [ Level 2 ] Group: Members Posts: 53 Joined: 20-March 06 Member No.: 12,139 |
let ur visitors easily add a bookmark to your site. fully configurable, you can specify the url and name for the link.
Notice from szupie:
QUOTE Step 1: put the following script in the head of your page.place the code below between the and tags within the HTML page that you want them to bookmark. <script LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- var url = "http://your url"; var title = "your title"; function makeLink(){ if(document.all) window.external.AddFavorite(url,title) } // --> </script> Step 2: put the following in the BODY of your page. place the code below between the <BODY> and BODY> tags within the HTML page that you would like to let them bookmark. <A HREF="java script:makeLink()">Bookmark Us</A> njoy! shiv |
|
|
|
Mar 21 2006, 04:25 AM
Post
#2
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 20 Joined: 19-June 05 Member No.: 6,363 |
nice code... it can be used with any browser???? i have a lot of codes like this that can't be used with all browsers!!! when you click on the link to bookmark the page, the browser don't bookmark it..... i will try to use it with IE, firefox and opera, te most used browsers!!!
well, i have tested it on internet explorer 6 and firefox, but it works only on internet explorer, i was unable to find the opera installer..... one more thing, you will need to update your code: remove the space between the words "java" and "script", writing "javascript"!!!!!! This post has been edited by brunomokan: Mar 21 2006, 04:28 AM |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 5th December 2008 - 12:00 AM |