Re: How to set the default home page using php code in Firefox
On Mon, 12 May 2008 12:48:58 +0200, Anz <anzbmuhammad@gmail.com> wrote:
> I used the javascript functions as shown below.
> <a href="javascript:;;;"
Which is bad form....
> 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?
Ask in comp.lang.javascript, nothing to do with PHP.
--
Rik Wasmus
[SPAM] Now temporarily looking for some smaller PHP/MySQL projects/work to
fund a self developed bigger project, mail me at rik at rwasmus.nl. [/SPAM]
|