VK wrote:
> Richard Cornford wrote:
>>> wrote:
>>>> It does't work in my IE (6), but works fine in
>>>> Firefox. Any suggestions?
>>>
>>> Put
>>> window.onload = last_modified;
>>>
>>> after the function declaration (at the end of your
>>> script).
<snip>
>> You even claimed to have read the specification. Yet you
>> didn't see, or didn't understand, that the same is true
>> of function declarations.
>
> I found the actual error - see another post.
Does the error you pointed out actually explain the symptoms described?
Will the code with that error work in Firefox but not work in IE6? If
the symptoms are real then the code posted cannot be producing them, so
you may have just pointed out a typo in the posted code.
> For the mater
> of variable instantiation it is just not my cup of tea I'm
> affraid. I mean of course I understood the trick (so stupid
> I'm not
but I simply don't like it. So I will continue to
> declare all used variable explicetly in my code: ...
<snip>
You just don't get it, do you? In response to the posted question you
have proposed an action that you should have known would make no
practical difference at all. It doesn't matter that 'best practice' may
be to declare variables and functions before other code. You were not
recommending those changes as a gesture towards beast practice, you were
implying that it might make a difference that might resolve the issue.
Implying that you were not aware that it should not be expected to make
any difference at all.
All your response to my comments represents is yet another lame attempt
to excuse your evident incompetence.
Richard.