|
-
Apr 14th, 2001, 10:39 PM
#1
I am in need for JS functions for :
Add to Favourites
Add to active desktop
Make homepage
-
Apr 15th, 2001, 09:21 PM
#2
for Make HomePage:
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');">
works with IE, not very great with JS, so may not work everywhere
for bookmark...
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.");
}
}
should do the trick.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 16th, 2001, 02:29 AM
#3
thanks!..
perfect for me!
who cares about NS.. I wanted it to work
with IE only.. NS was just a bonus!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|