Forums / Developer / Integrating YAHOO UI in Ezwebin
B. Nkengsong
Friday 05 September 2008 4:26:30 am
Hello,
I want to integrate yui tools in a template (pagelayout.tpl). But there a problem with the brackets. May be is the TPL compiler that does not make difference between the EZ template language bracket and the yahooapis one.
<script language="javascript"> var tabView = new YAHOO.widget.TabView(); tabView.addTab( new YAHOO.widget.Tab({ label: 'Opera', dataSrc: 'assets//news.php?&query=opera+browser', cacheData: true, active: true }));
The problem is with the bracket after YAHOO.widget.Tab.
How to cast it in order to integrate it in a TPL file ?
Sanagha Technologies Corp. http://www.sanagha.com | http://www.sanagha.net | http://tourisphere.sanagha.net | http://education.sanagha.net IT Consultant
Ivo Lukac
Friday 05 September 2008 6:29:01 am
Use {literal} :
{literal} <script language="javascript"> var tabView = new YAHOO.widget.TabView(); tabView.addTab( new YAHOO.widget.Tab({ label: 'Opera', dataSrc: 'assets//news.php?&query=opera+browser', cacheData: true, active: true })); {/literal}
http://www.linkedin.com/in/ivolukac http://www.netgen.hr/eng/blog http://twitter.com/ilukac
Tuesday 09 September 2008 2:51:06 am
Thank you Ivo
It's there the solution !
Thank you once more