[TYPO3-dev] JSeventFuncCalls calls onLoad event twice for Opera

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon May 8 09:54:48 CEST 2006


Cyprian Kowalczyk schrieb:
> On Fri, 05 May 2006 15:35:45 +0200, Martin Kutschker  
> <Martin.Kutschker at n0spam-blackbox.net> wrote:
> 
>>
>> If it is called twice, then it is an Opera bug.
> 
> 
> It's not Opera bug, it's Opera... feature - it makes it more compatible  
> (it can handle both type of event declaraion - in the body tag and 
> through  document.onload).

So? Other browsers accept also this two methods (and even a third with 
event listeners) and don't call the handler twice.

Maybe it's not a bug, but per design. But it does not improve compatibility 
(with IE and Netscape/Firefox).

Masi




More information about the TYPO3-dev mailing list