//diving
= {
text: 'Dive',
leaf: false ,
children: null
};
//Climbing
= {
text: 'Climbing',
leaf: false ,
children: null
};
//rock climbing
= {
text: 'Rock Climbing',
leaf: false ,
children: null
};
//on foot
= {
text: 'hiking',
leaf: false ,
children: null
};
//motorcycle
= {
text: 'Motorcycle',
leaf: false ,
children: null
};
//Integrated modules in the project
= {
text: 'Integrated modules in the project',
leaf: false ,
children: null
};
= [
{
text: 'Interactive prompt bar',leaf: true,ctl: 'ExtjsStudy',act: 'linkTips',
//The priority of this operation is higher than the general listening controller below
listeners:{click: function (n){((,));return false ;}}
}
];
//Initialize Menu item element information -- This must be in -- The current menu is generated using the asynchronous tree component, and other different implementations can be added in the future
= new ();
= new ({
expanded: true ,
children: [
,
,
,
,
,
,
,
]
});
//Define a simple response event
= {
click: function (n) // You can get the object in the children of AsyncTreeNode
{
if ( == true) //Leaf option
{
//
var ctlStr = (,);
('Current Controller',400,300,ctlStr) ;
}
else //Includes submenu
{
//not to do
}
}
};
//End Menu Options
//Main Content Panel
= {
id: "main_content", xtype: "tabpanel" , region: 'center' ,items: [{title: 'main content panel'}]
};
//Status bar
= {
xtype: "tabpanel" , region: 'south' ,items: [{title: 'status bar'}]
};
= function(BJExtremeObj){
// Used to render objects into body blocks in the page, it will automatically change, only one page is allowed
= new ({
enableTabScroll: true ,
layout: 'border', //Set to fit and cannot display composite panels
items: [
,
,
,
]
}) ;
}
var myextreme = new BJExtreme() ;
(
function(){
//('BJExtreme Version',());
//('BJExtreme Version',('t','b'));
(myextreme) ;
}
);
</script>
<%*Execution block JS area --end*%>
</head>
<body>
<!-- //Page neutron navigation menu -->
</body>
</html>
Previous page12Read the full text