I am in need for JS functions for :
Add to Favourites
Add to active desktop
Make homepage
Printable View
I am in need for JS functions for :
Add to Favourites
Add to active desktop
Make homepage
for Make HomePage:
works with IE, not very great with JS, so may not work everywhere:rolleyes:Code:<input type="button" value="Set this page as your home page!" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.yahoo.com');">
for bookmark...
should do the trick.Code:function bookmark(){
if (navigator.appName == "Microsoft Internet Explorer") {
var url="http://www.Yahoo.com";
var title="Yahoo!";
window.external.AddFavorite(url,title);
}
else {
alert("Please press CTRL+D to bookmark this page.");
}
}
thanks!..
perfect for me!
who cares about NS.. I wanted it to work
with IE only.. NS was just a bonus!