D
Dario de Judicibus
It looks like there is a very bad problem with JavaScript support in
Internet Explorer 6.
Let divide a frameset in four frames, a top bar, a side menu, a content body
and a hidden frame.
The hidden frame is used to keep a page that defines a global object, let us
call it top.current.
That object is used to keep trace of which pages are loaded in the other
three frames.
In fact, each page has a 'name'. Furthermore pages in the side menu and
content body are loaded at the same time by clicking buttons in the top bar.
Is is clear? OK. Let's go ahead.
Every time a page is loaded it updates the global object, which is used to
update a small box in top bar with the names of currently loaded pages. I
use a setTimeout to ensure that all pages are loaded before updating the
box.
This system works in Mozilla, in Opera and Firefox, but NOT in Internet
Explorer, or better, not always. Sometimes the object is not updated, that
is a page do NOT change the global object. I tried several different code
techniques, but the result is always the same: some pages work as expected,
others do not work, even if they are practically the same.
Does anybody know if IE has some problem with frames and global variables
that generates unpredictable behaviour?
Thank you in advance.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Dario de Judicibus - Italy (EU)
Site: http://www.dejudicibus.it/
Blog: http://lindipendente.splinder.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Internet Explorer 6.
Let divide a frameset in four frames, a top bar, a side menu, a content body
and a hidden frame.
The hidden frame is used to keep a page that defines a global object, let us
call it top.current.
That object is used to keep trace of which pages are loaded in the other
three frames.
In fact, each page has a 'name'. Furthermore pages in the side menu and
content body are loaded at the same time by clicking buttons in the top bar.
Is is clear? OK. Let's go ahead.
Every time a page is loaded it updates the global object, which is used to
update a small box in top bar with the names of currently loaded pages. I
use a setTimeout to ensure that all pages are loaded before updating the
box.
This system works in Mozilla, in Opera and Firefox, but NOT in Internet
Explorer, or better, not always. Sometimes the object is not updated, that
is a page do NOT change the global object. I tried several different code
techniques, but the result is always the same: some pages work as expected,
others do not work, even if they are practically the same.
Does anybody know if IE has some problem with frames and global variables
that generates unpredictable behaviour?
Thank you in advance.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Dario de Judicibus - Italy (EU)
Site: http://www.dejudicibus.it/
Blog: http://lindipendente.splinder.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~