From: hannibal on
Hi,
i need to refresh page cathcing "onResize" event.
I wrote this code:

<body onResize="javascript:winodw.location.reload(true); return
true;">

On I.E. it works, but it doesn't work on Firefox.

Someone knows why?

Thanks in advantage!
From: David Dorward on
hannibal wrote:

> <body onResize="javascript:winodw.location.reload(true); return
> true;">

> On I.E. it works, but it doesn't work on Firefox.

http://www.w3.org/TR/html4/interact/scripts.html#h-18.2.3

What onResize attribute?

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
From: hannibal on
On Sat, 27 Aug 2005 09:28:48 +0100, David Dorward <dorward(a)yahoo.com>
wrote:


>http://www.w3.org/TR/html4/interact/scripts.html#h-18.2.3
>
>What onResize attribute?

Really interesting! But... Does thist mean that is impossibile to do
something when users resize browser's windows?

From: ASM on
hannibal wrote:
> On Sat, 27 Aug 2005 09:28:48 +0100, David Dorward <dorward(a)yahoo.com>
> wrote:
>
>>http://www.w3.org/TR/html4/interact/scripts.html#h-18.2.3
>>
>>What onResize attribute?
>
> Really interesting! But... Does thist mean that is impossibile to do
> something when users resize browser's windows?

1) leave me resizing my windows as I want, thanks

2) <body onresize="alert('resize')"> works with my FF


--
Stephane Moriaux et son [moins] vieux Mac
From: hannibal on
On Sun, 28 Aug 2005 01:54:21 +0200, ASM
<stephanemoriaux.NoAdmin(a)wanadoo.fr.invalid> wrote:

>1) leave me resizing my windows as I want, thanks

:)

>2) <body onresize="alert('resize')"> works with my FF

I solve my problem with:
<body onResize="location.href=location.href">

Thanks all!

Bye

 |  Next  |  Last
Pages: 1 2
Prev: Turning a number to superscript
Next: show/hide thingy