r1 - 18 Oct 2007 - 03:19:21 - DovKatzYou are here: TWiki >  JSLoader Web > DemoList > ExtJsPanelDemo

How it's done

<script>
JSLoader.load("ria","ext","2.0-beta1");
JSLoader.load("ria","prettify","1.0");
</script>

<script>
var topics="Here is a list of topics: <ul>" +
<nop>%TOPICLIST{format="'<li>$name</li>'+"}%</nop>
"";
Ext.onReady(function(){
    var p = new Ext.Panel({
        title: 'Topic List',
        collapsible:true,
        renderTo: Ext.get("container"),
        width:400,
       html:topics
    });
});
</script>

Demo Result

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback