Wednesday 26 September 2007 8:42:21 am
{section name=JavaScript loop=ezini( 'JavaScriptSettings', 'JavaScriptList', 'design.ini' ) }
<script language="JavaScript" type="text/javascript" src={concat( 'javascript/',$:item )|ezdesign}></script>
{/section}
i wrote
[JavaScriptSettings]
JavaScriptList[]=YahooUI/yahoo-dom-event/yahoo-dom-event.js
in 2 different extensions. but in the page, it shows 2 times the javascript. more strange, i use the smileCalendar, in the design.ini, there is once
[JavaScriptSettings]
JavaScriptList[]=smileCalendar.js
but i got it twice, why? thanks for the answer.
|