<div> <a href= "javascript:void(0);" class= "easyui-linkbutton" onclick= "javascript:$('#p').panel('open')" >打开</a> <a href= "javascript:void(0);" class= "easyui-linkbutton" onclick= "javascript:$('#p').panel('collapse')" >收缩</a> <a href= "javascript:void(0);" class= "easyui-linkbutton" onclick= "javascript:$('#p').panel('expand')" >展开</a> <a href= "javascript:void(0);" class= "easyui-linkbutton" onclick= "javascript:$('#p').panel('minimize')" >最小</a> <a href= "javascript:void(0);" class= "easyui-linkbutton" onclick= "javascript:$('#p').panel('restore')" >还原</a> <a href= "javascript:void(0);" class= "easyui-linkbutton" onclick= "javascript:$('#p').panel('maximize')" >最大</a> <a href= "javascript:void(0);" class= "easyui-linkbutton" onclick= "javascript:$('#p').panel('close')" >关闭</a> </div> <hr> <div id= "pbox" class= "easyui-panel" style= "padding:10px;" data-options= "width:700,height:300" > <div id= "p" class= "easyui-panel" style= "padding:10px;" data-options= "width:500,height:250,title:'面板工具'" > <p>jQuery EasyUI framework helps you build your web pages easily.</p> <ul> <li>easyui is a collection of user-interface plugin based on jQuery.</li> <li>easyui provides essential functionality for building modem, interactive, javascript applications.</li> <li>using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.</li> <li>complete framework for HTML5 web page.</li> <li>easyui save your time and scales while developing your products.</li> <li>easyui is very easy but powerful.</li> </ul> </div> </div> |