Tuesday, January 10, 2012

code add to Favorites button

code add to Favorites button

1- Copy this code and put it in the HEAD

  <SCRIPT language="JavaScript1.2">
var bookmarkurl="http://*******.com";
var bookmarktitle="name site ";
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle);
}
</SCRIPT>


2 - Copy this code and put it where you want it in the BODY

  <A href="javascript:addbookmark()">add bookmarkurl,</A> 

No comments:

Post a Comment