<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" /> <script type="text/javascript" src="extjs/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="extjs/ext-all.js"></script> <script type="text/javascript" src="extjs/ext-all-debug.js"></script> <script type="text/javascript"> Ext.onReady(function(){ var panel=new Ext.Panel({ el:'test', title:'测试标题', floatint:true, shadow:true,//True 表示为(或一个有效Ext.Shadowmode值)在面板后显示投影效果(默认为'sides'四边)。注意此项只当floating = true时有效。 draggable:true,//True表示为激活此面板的拖动(默认为false) collapsible:true, html:'测试内容', pageX:100, pageY:50, width:200, height:150 }); panel.render(); }); </script> </head> <body> <div id="test"></div> </body> </html>