473,320 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Two weirdnesses..are they related? (IE7)

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 <divat 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 <divswitches 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?

..
Nov 20 '08 #1
3 1350
On Nov 20, 6:42*pm, The Natural Philosopher <a...@b.cwrote:
It's late and I am through for coding today, but one thing is causing me
to tear my hair out.
Just one? That's a good day.
>
Its too long to post all the code, and I haven't yet pinned the thing
down properly.
Perhaps you should gather your thoughts.
>
However I have some pages that work just fine in firefox and Safari, and
validate HTML wise.

But they go apeshit in IE7.
Could be anything.
>
And the weird thing is that a construction that works on another screen
is one if the things that is failing.
That is weird.
>
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..
Curiouser and curiouser.
>
So, I am seeing if anyone recognizes the symptoms
IE7 goes "apeshit?" Yeah, I've seen that. This particular case
sounds like a loose nut behind the keyboard.
>
Basically I have a <divat 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 <divswitches the visibility of the
parent frame from none to block.
How could you have coded this when you can't even explain it?
>
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..
Clear as mud (as usual.)
>
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.
Quite a poser.
>
Thats done with:-

onclick="document.getElementsByName(mydiv')[0]='127';document.getElementById('mydiv').firstChild .data='new
crap';"
What is that?
>
Now on Safari and Firefox everything works, and no reports show up in
the error console.
I doubt that.
>
On IE7 it says that document.getElementById('mydiv').firstChild is not a
valid object.
That too. The above "code" won't do anything.
>
Yet another screen has this exact system working fine.
Not if it includes the above sample.
I suspect that the brain damage that is causing the first effect, is
Aha. Now I think we are making progress.
also causing the second, but how did I damage its brain in the first place?
A blow to the head perhaps? Could explain a lot.
>
Apart from 'well IternetExCrement7 is crap, what do you expect?' has
Alright.
anyone else experienced any thing like this?
No, but everything is going to be okay.
>
and is there any javascript validator for IE7?

.
A validator? No. You could try JSLint, but in your delicate
condition...
Nov 21 '08 #2
The Natural Philosopher wrote:
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 <divat 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 <divswitches 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.
Ahh. I may have the answer to this one. It seems that IE7 when it does a
getElementById('mytag') , will return preferentially the element which
is NAMED 'mytag' if such exists...and in my case I used the same value
for an ID and a name.. well that should be easy to fix, anyway.

http://webbugtrack.blogspot.com/2007...d-returns.html
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?

.

Nov 21 '08 #3
The Natural Philosopher wrote:
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 <divat 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 <divswitches 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..
Oh well. Nothing like expressing the problem clearly to dream up the
right thing to key into google.

Seems this one is well known as well

http://richa.avasthi.name/blogs/tepu...ssons-learned/
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?

Sorry to bother you ffolks. Now the problems are understood, I can sleep
better and fix them in the morning.

Night all..
>
.

Nov 21 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Nathan Sokalski | last post by:
I want to make sure I am doing a browser detection that will work once IE7 is released. My current detection statement (written using VB.NET) is: If Me.Request.Browser.Browser.ToUpper() = "IE"...
7
by: Gerhard | last post by:
There was a post in the general newsgroups that I have also run into, see below. I have a .Net 2.0 application that runs fine and displays fine in IE6, but the asp:Panels and asp:GridViews...
25
by: Nathan Sokalski | last post by:
As we all know, IE7 is now available. However, it also cannot be installed side by side with IE6. This makes it very hard to test pages on both versions using the same machine. I am guessing that...
14
by: nospamhere | last post by:
Hello Stephen and all, This is such a cool group. I really need to spend more time here. A few months ago I noticed some brief discussion here about the fact that your excellent HTML Editor...
5
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I have been using the Click Once deployment feature of VS2005 - very nice. I had IE6 at the time when I started using Click Once Deployment, and everything worked fine. But then my...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, My workstation has been automatically updating IE6 to IE7. When this happens I have a problem with Click Once deployment (VS2005). What happens is that I can still publish applications...
1
by: =?Utf-8?B?dmNs?= | last post by:
Short version: IE7 and .NET Framework 2.0 breaks no touch deployment for .NET 1.1 applications. IE6 and .NET Framework 1.1 + 2.0 works fine. IE7 with .NET Framework 1.1 only is fine, once we add...
2
by: =?Utf-8?B?aGVsZmk=?= | last post by:
Hi all, I have replied with my own questions to an older post entry but after a while I thought it's better to start a new thread based on the previous one. Perhaps with the new thread I will...
8
by: jonmundsack | last post by:
I have an intranet site on my LAN which has "anonymous access" turned OFF, and "integrated Windows authentication" turned on. This allows me to access the "AUTH_USER" server variable, which I use...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.