T
The Natural Philosopher
It's late and I am through for coding today, but one thing is causing me
to tear my hair out.
Its too long to post all the code, and I haven't yet pinned the thing
down properly.
However I have some pages that work just fine in firefox and Safari, and
validate HTML wise.
But they go apeshit in IE7.
And the weird thing is that a construction that works on another screen
is one if the things that is failing.
And essentially the same code generated by the same subroutine in php,
is working on one part of the screen partly, and not on another..
So, I am seeing if anyone recognizes the symptoms
Basically I have a <div> at zindex-0 that spawns (onmouseover) a <DIV>
'frame' at z-index one into which lots of clickable <div>s are loaded.
I.e. the onmouseover on theh parent <div> switches the visibility of the
parent frame from none to block.
That works, but on one part of the screen the frame at z-index one is
overlaid with the text, and some of the divs inside divs, from another
frame at z-index 0.. that is the flyouts at zindex 1 are sliding *under*
the _text_, and the _divs contained by_, the level 0 divs, but not the
overall div itself. Its as if the nesting within the DOM is expressing
itsel as a rising z-index..
As if that wasn't weird enough, I have another part of the screen where
when you click on one of these flyout divs, another div element gets its
text changed. As well as a hidden variable getting updated. The input
element is named, the other has a unique ID.
Thats done with:-
onclick="document.getElementsByName(mydiv')[0]='127';document.getElementById('mydiv').firstChild.data='new
crap';"
Now on Safari and Firefox everything works, and no reports show up in
the error console.
On IE7 it says that document.getElementById('mydiv').firstChild is not a
valid object.
Yet another screen has this exact system working fine.
I suspect that the brain damage that is causing the first effect, is
also causing the second, but how did I damage its brain in the first place?
Apart from 'well IternetExCrement7 is crap, what do you expect?' has
anyone else experienced any thing like this?
and is there any javascript validator for IE7?
..
to tear my hair out.
Its too long to post all the code, and I haven't yet pinned the thing
down properly.
However I have some pages that work just fine in firefox and Safari, and
validate HTML wise.
But they go apeshit in IE7.
And the weird thing is that a construction that works on another screen
is one if the things that is failing.
And essentially the same code generated by the same subroutine in php,
is working on one part of the screen partly, and not on another..
So, I am seeing if anyone recognizes the symptoms
Basically I have a <div> at zindex-0 that spawns (onmouseover) a <DIV>
'frame' at z-index one into which lots of clickable <div>s are loaded.
I.e. the onmouseover on theh parent <div> switches the visibility of the
parent frame from none to block.
That works, but on one part of the screen the frame at z-index one is
overlaid with the text, and some of the divs inside divs, from another
frame at z-index 0.. that is the flyouts at zindex 1 are sliding *under*
the _text_, and the _divs contained by_, the level 0 divs, but not the
overall div itself. Its as if the nesting within the DOM is expressing
itsel as a rising z-index..
As if that wasn't weird enough, I have another part of the screen where
when you click on one of these flyout divs, another div element gets its
text changed. As well as a hidden variable getting updated. The input
element is named, the other has a unique ID.
Thats done with:-
onclick="document.getElementsByName(mydiv')[0]='127';document.getElementById('mydiv').firstChild.data='new
crap';"
Now on Safari and Firefox everything works, and no reports show up in
the error console.
On IE7 it says that document.getElementById('mydiv').firstChild is not a
valid object.
Yet another screen has this exact system working fine.
I suspect that the brain damage that is causing the first effect, is
also causing the second, but how did I damage its brain in the first place?
Apart from 'well IternetExCrement7 is crap, what do you expect?' has
anyone else experienced any thing like this?
and is there any javascript validator for IE7?
..