Bookmark Site
1: You can do this in two simple steps.
Add the following JavaScript somewhere within the
<body></body> tags of each page in which you want to use the bookmark code:
2:
3: <script type="text/javascript">
4: sitetitl = "Pat Wong's Music Around The World"
5: siteurl = "http://www.napathon.net/"
6: function addBookmark(title,url) {
7: if (window.sidebar) {
8: window.sidebar.addPanel(title, url,"");
9: } else if( document.all ) {
10: window.external.AddFavorite( url, title);
11: } else if( window.opera && window.print ) {
12: return true;
13: }
14: }
15: </script>
16:
17: Be sure to change the values
of sitetitl and siteurl to match your website
18:
19: Here
20: <a href="#"
21: onmousedown="addBookmark(sitetitl,siteurl)">Bookmark</a>
22:
23:
24:
Posted by sachauncey at August 20, 2003 01:50 PM