Add a Bookmark

The code below demonstrates some javascript code that adds a bookmark to the visitors IE favourites list. (Please note this *only* works in Internet Explorer)

<!-- ADD WEB PAGE IN TO FAVORITES LIST //-->
<Html>
<Head><title>Add in to favorites</title></Head>
<Body style="font-size:x-small">
 
<a href="javascript:window.external.AddFavorite('Pari Web Services™-One Stop shop for IT solutions','www.pari.4t.com')">Click to add this web page in to Favorite</a>

</Body>
</Html>

The AddFavorite function uses the following syntax:

window.external.AddFavorite(PageTitle,URL)

(the external object gives access to the Internet Explorer document object model).

You might also like...

Comments

Peeyush Nigam More than 3yrs of practical and job experience in IT Industry. Currently running own ASP center in city KANPUR - INDIA [url="www2.domaindlx.com/pari"]PARI WEB SERVICES™[/url] U may [email="webmaste...

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook