Ext Rich Client Admin System Preliminary code 1th/2 page _yui. Ext Related

Source: Internet
Author: User
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD" >
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 ">
<title><% $sitename%></title>
<%* loaded ExtJS resource file--start *%>
<link rel= "stylesheet" type= "Text/css" href= "<% $extjs _res%>"/>
<script type= "Text/javascript" src= "<% $extjs _adapter%>" ></script>
<script type= "Text/javascript" src= "<% $extjs _laction%>" ></script>
<%* loaded ExtJS resource file--end *%>
<%* The JS area of the execution block--Start *%>
<script type= "Text/javascript" >
Concrete development--Bjextreme class
Bjextreme= function () {};
BJExtreme.prototype.getAuthor = function () {
Return ' Xu Xiao Han ';
}
BJExtreme.prototype.getVersion = function () {
Return ' August 13, 2008 17:00 ';
}
BJExtreme.prototype.getController = function () {
Return ' index.php ';
}
BJEXTREME.PROTOTYPE.BUILDLINKSTR = function (ctl,act) {
if (ctl = = undefined)
return BJExtreme.prototype.getController ();
if (act = = undefined)
act = NULL;
return BJExtreme.prototype.getController () + ' ctl= ' + ctl + ' &act= ' + act;
}
BJExtreme.prototype.showWindow = function (TITLE1,WIDTH1,HEIGHT1,HTML1) {
if (This.win = = undefined) {
This.win = new Ext.window ({
Title:title1,
Width:width1,
HEIGHT:HEIGHT1,
Html:html1
});
}
else {
This.win.close ();
This.win = new Ext.window ({
Title:title1,
Width:width1,
HEIGHT:HEIGHT1,
Html:html1
});
}
This.win.show ();
}
/* The UI components that appear are individually encapsulated * * *
BJExtreme.prototype.ui = function () {};
BJExtreme.prototype.ui.mainTopic = {
Title: ' Beijing Extreme admin ', Region: ' North ',
HTML: ' <embed src= ' <% $prj _dir%>/swf/top_title.swf ' quality= ' high ' type= ' Application/x-shockwave-flash ' Width= "450" height= "></embed>"
};
/* Left menu item operation--Start/*
Menu bar Object when defining initial session state
BJExtreme.prototype.ui.menuBar = {
Xtype: ' Treepanel ',
Title: ' Menu ', Region: ' West ', width:200, Collapsible:true,
Loader:null, Root:null, Rootvisible:true, Listeners:null
};
Travel related
BJExtreme.prototype.ui.menuBar.Traveling = {
Text: ' Travel ',
Leaf:false,//This is set to False to display the folder icon, true to display the individual icon
Children:null
};
BJExtreme.prototype.ui.menuBar.Traveling.children = [
{text: ' Beijing ', Leaf:true, ctl: ' Peking ', act: '},
{text: ' Tibet ', Leaf:true, ctl: ' Tibet ', act: '},
{text: ' Thailand ', leaf:true},
{text: ' Shangri-La ', Leaf:true,ctl: ' Shangrila ', act: '}
];
Tibetan Medicine related
BJExtreme.prototype.ui.menuBar.Mibetdoctor = {
Text: ' Tibetan medicine ',
Leaf:false,
Children:null
};
BJExtreme.prototype.ui.menuBar.Mibetdoctor.children = [
{text: ' Tibetan history ', leaf:true},
{text: ' Tibetan medicine theory ', leaf:true},
{text: ' Diagnostics ', leaf:true},
{text: ' Illness ', leaf:true},
{text: ' Treatment ', leaf:true}
];
Current 1/2 page 12 Next read the full text

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.