[code="html"]
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
[/code]
[code="js"]
Ext.onReady(function(){
Ext.QuickTips.init();
/*
*菜单面板
*/
var menuPanel=new Ext.FormPanel({
//width:1366,
height:60,
title:'信息发布',
layout:'border',
id:'menuPanel',
renderTo:'header',
items:[
{
xtype:'hidden',
region:'center',
text:'hidden'
},
{
xtype:"panel",
width:200,
region:'east',
height:60,
layout:"table",
layoutConfig: {
columns: 2
},
items:[
{
xtype:'button',
text:'新建信息',
width:100
},
{
xtype:'button',
text:'发布信息',
width:100
}
]
}
]
});
});
/*onReady function is over*/
[/code]
[img]http://dl.iteye.com/upload/attachment/533324/57de73e8-75da-3d2a-941f-3f04458eb24a.jpg[/img]