For netscape you need to use the captureEvents method

if (navigator.appName.toLowerCase() == "netscape")
        {
        this.window.captureEvents(Event.RESIZE);
        this.window.onresize = [functionName];
        }

[functionName] being the name of the function you want to call

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gareth
Edwards
Sent: Tuesday, March 30, 2004 3:03 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: OT: javascript refresh window


There is an event handler for onResize in netscape I think.. but I'm not
sure of ie

Gareth.

-----Original Message-----
From: Ricardo Russon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 March 2004 2:59 PM
To: CFAussie Mailing List
Subject: [cfaussie] OT: javascript refresh window


Hi guys..

Is there a javascript to refresh a page if it has been resized?
I am using absolute positioned layers and if the window is resized they are
out of alignment, until i hit refresh.

Is there any other way around this problem?

TIA

Ricardo.



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to