View Single Post

  #4 (permalink)  
Old 05-12-2008
Gordon
 
Posts: n/a
Default Re: How to set the default home page using php code in Firefox

On May 12, 11:48 am, Anz <anzbmuham...@gmail.com> wrote:
> I used the javascript functions as shown below.
> <a href="javascript:;;;"
> onclick="this.style.behavior='url(#default#homepag e)';
> this.setHomePage(location.href);">
>
> But this code works for IE, not for Firefox. While running this code,
> the firefox shows javascript error as
> this.setHomePage is not a function
>
> Is there any javascript function available for both the browsers?


1) This is javascript
2) Anybody who tries to force their choice of start pages on me dies.
Reply With Quote