Hi
I have written a JS function that works in IE6.0.26 offline but not online.
In IE5.00 it works ok both online and offline.
Further, in IE6 it works online if the JS function is in the frame document but not if
the function is in the parent frame document.
The function is initiated by an OnClick and the function then (after some logic tests)
opens a new window. In the error situation no window is opened.
I have set up the test demo at:
<!-- m --><a class="postlink" href="http://www.managingchange.com/ops%20centre%20manual/testlink.htm">http://www.managingchange.com/ops%20cen ... stlink.htm</a><!-- m -->
The parent function version issues some debugging alerts:
In the offline mode (OK) the incidentWindow has a value of [object]
but in the online mode (error) the incidentWindow has a value of [object Object]
Note: the key JS statement is
incidentWindow = window.open ("doesnotexist.htm", "Incident_Window");
The doesnotexist is for the test demo - in real life the page does exist!
Any help appreciated.
Alan (UK)
I have written a JS function that works in IE6.0.26 offline but not online.
In IE5.00 it works ok both online and offline.
Further, in IE6 it works online if the JS function is in the frame document but not if
the function is in the parent frame document.
The function is initiated by an OnClick and the function then (after some logic tests)
opens a new window. In the error situation no window is opened.
I have set up the test demo at:
<!-- m --><a class="postlink" href="http://www.managingchange.com/ops%20centre%20manual/testlink.htm">http://www.managingchange.com/ops%20cen ... stlink.htm</a><!-- m -->
The parent function version issues some debugging alerts:
In the offline mode (OK) the incidentWindow has a value of [object]
but in the online mode (error) the incidentWindow has a value of [object Object]
Note: the key JS statement is
incidentWindow = window.open ("doesnotexist.htm", "Incident_Window");
The doesnotexist is for the test demo - in real life the page does exist!
Any help appreciated.
Alan (UK)