[TYPO3-core] Tabbed menus as a separate class file

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun Nov 18 22:51:58 CET 2007


Steffen Kamper schrieb:
> "Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb im 
> Newsbeitrag 
> news:mailman.1.1195414169.7322.typo3-team-core at lists.netfielders.de...
>> Steffen Kamper schrieb:
>>> but if loaded from JS, they need to go through eval, or not?
>> I fail to understand. Why do you want to use eval() on what? Nothing has 
>> to be eval'ed. The code simplay adds a new <SCRIPT> element in the header.
>>
>> Masi
> 
> This is my understanding of loading JS dynamic. If document loads, each JS 
> included is executed. When manipulating DOM and add tags with JS, they has 
> to be eval'd to be executed - same issue you have in Ajax requests.

Don't think so. Why should I eval the code when I'm adding an element? I 
don't add the code itself. I rely here on the src attribute of the 
script tag.

Masi


More information about the TYPO3-team-core mailing list