Add a bookmarkTag(s): Varia


For IE4 or better only.
<script language="JavaScript">
<!--
var bookmarkurl="http://www.rgagnon.com/howto.html"
var bookmarktitle="Real's HowTo"

function addbookmark(){
  if (document.all)
     window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
-->
</script>
<a href="javascript:addbookmark()">Add Real's HowTo to your Bookmarks</a>
Try it Add Real's HowTo to your Bookmarks

Alternate script :

<SCRIPT LANGUAGE = "JavaScript1.2">
  if ((navigator.platform!="MacPPC") && (navigator.appName=="Microsoft 
    Internet Explorer") && (navigator.appVersion>="4")) {
    document.write
      ("<A HREF='Javascript:window.external.AddFavorite(location.href, 
        document.title)'>Add my site to your Favorites</A>")}
</SCRIPT>

blog comments powered by Disqus