Click to See Complete Forum and Search --> : RE: Make this page your homepage problem


oliverko
04-03-2003, 03:17 AM
Hi there,

I have this problem:

I want to add an icon onto my home page which shlould
enable user to make my home page his/her start page.

It works ok under IE but does not under NS... :-(

Can anyone of you JS gurus help me how to specify
in a code so that this function works under NSx too
or how this can be done?

I am enclosing the code I am using:

<a HREF="#" onClick="this.style.behavior='url (#default#homepage)';this.setHomePage('http://www.thispage.com');"><img src="new/pict/buttons/add_desktop.gif" width="52" height="49" border="0" alt="Make this page your home page"></a>

thanks a million

oliverko
04-03-2003, 07:39 AM
Thanks Dave,

so this appeals to the case when a user would want to add
my page / current page to favourites.

And how about the case when I want user to set current page
to be his START PAGE ? ( I mean instead of going to "Tools - Internet Options - General and manually set it there ). Is it the same as you described?


Thanks
Robert