Set User Homepage

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
jamiel
Forum Contributor
Posts: 276
Joined: Wed Feb 22, 2006 5:17 am
Location: London, United Kingdom

Set User Homepage

Post by jamiel »

Hi all,

I am in search of the best way to set a users homepage with a 'Make this your homepage' link.

I have stumbled across the following code:

Code: Select all

<a  href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.mypage.com');">
But it seems to only function correctly in IE 7. Are there any other methods to support at least IE 6 aswell and perhaps the Gecko Browsers?

Thanks

Jamie
Post Reply