Try Event.observe(window, 'resize', ...); (similar to the 'dom:loaded'

However, per a jQuery discussion here:
and here:
it might not be so wise to observe the event directly. IE fires the
event each time a pixel move is made. You could probably adapt code
out of the latter link, though.

-joe t.

On Jan 18, 12:33 pm, gillesvds <> wrote:
> Hello,
> How to observe the event window.resize with prototype ?
> The window object is not an instance of Element... so, is there a
> cross-browser solution using prototype ?
> Thanks,
> Gilles (France)
You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to