|
Posted by Randy Webb on 11/19/07 22:58
Mika said the following on 11/19/2007 5:05 PM:
> "Randy Webb" <HikksNotAtHome@aol.com> wrote in message
> news:NYidnTYnj8cjYNza4p2dnAA@giganews.com...
>> Mika said the following on 11/19/2007 3:51 PM:
>>> "Stevo" <please@spam-me.com> wrote in message
>>> news:fhsl6r$23p$00$1@news.t-online.com...
>>>> Mika wrote:
>>>>> "Mika" <anon@anon.com> wrote in message
>> <snip>
>>
>>>>>> Thanks for all the tips. Hopefully MS will fix the bug before even
>>>>>> more programmers hate their browser, even if the majority of public
>>>>>> don't.
>>>>> Okay it turns out we jumped the gun as the problem is still happening,
>>>>> albeit less often. It is completely random.
>>>> The problem is that some code is trying to dynamically create DOM
>>>> elements before the page is complete (i.e. before the </body> tag). IE
>>>> won't tolerate this.
>> Wow, IE got it right. Imagine that.
>>
>>>>> Can anyone suggest another way to do this (which doesn't work)?:
>>>>> <!--[if IE]></body><![endif]-->
>>>> Have you tried using document.write("<\/body>"); ?
>>> Apologies, could you put the code in context and in laymen's terms
>>> please? Exactly what should we add to make only IE see a </body> command?
>> Instead of trying to work around flaws in your design, maybe you should be
>> trying to make your code work with valid HTML.
>
> This is known *bug* with IE that has been much publicised on forums as an
> incompatibility between it and Google Maps code.
I like that mentality. Code doesn't work in a browser and it must be the
browser - and not the code - that has a "bug" in it.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Navigation:
[Reply to this message]
|