hmm I can't seem to find it using the search tools on this forum..so I looked it up in my site's code.
<table border="0" cellpadding="2" cellspacing="0" width="475">
<tr>
<td valign="top" align="center">
<script language="JavaScript1.2">
var bookmarkurl="http://www.calvsa.net"
var bookmarktitle="CalVSA (VSA at UC Berkeley)"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
</script>
<a href="javascript:addbookmark()">Bookmark Us</a>
</td>
<td valign=top align="center">
<a HREF="javascript:null()" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.calvsa.net');">Set as Home</a>
</td>
</tr>
</table>
Change the url and stuff to your site...You can also pay with the table layout and stuff or not use it at all and just use the script and anchor tags.
PS can someone move this to add-on w/ code, please? I also posted code to some other posts on w/o code and they were not moved...man, i need to be a moderator for this section hehe.
- Alan
www.iamviet.com