forefox onresize problem

M

me54

does anyone know how to call some javascript function when firefox fire the
onresize event?

something like <body onresize="alert();"> doesn't work on forefox?

thnx.
 
D

Dietmar Meier

me54 said:
does anyone know how to call some javascript function when firefox
fire the onresize event?

something like <body onresize="alert();"> doesn't work on forefox?

The problem here is not that Firefox would not call the event handler,
but that Firefox wants an argument with the alert method.

Look into the JavaScript console to see the error message and then try
again with <body onresize="alert('resize');">.

ciao, dhgm
 
M

me54

: The problem here is not that Firefox would not call the event handler,
: but that Firefox wants an argument with the alert method.
:
: Look into the JavaScript console to see the error message and then try
: again with <body onresize="alert('resize');">.
:
: ciao, dhgm

Thanks you solve me from the "pain".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top