easyui源码翻译1.32--Window(窗口)
2014-01-04 14:53
288 查看
前言
扩展自$.fn.panel.defaults。使用$.fn.window.defaults重写默认值对象。下载该插件翻译源码窗口控件是一个浮动和可拖拽的面板可以用作应用程序窗口。默认情况下,窗口可以移动,调整大小和关闭。它的内容也可以被定义为静态html或要么通过ajax动态加载。
源码
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Basic Window - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="../../themes/icon.css"> <link rel="stylesheet" type="text/css" href="../demo.css"> <script type="text/javascript" src="../../jquery-1.8.0.min.js"></script> <script src="../../plugins2/jquery.parser.js"></script> <script src="../../plugins2/jquery.draggable.js"></script> <script src="../../plugins2/jquery.resizable.js"></script> <script src="../../plugins2/jquery.panel.js"></script> <script src="../../plugins2/jquery.window.js"></script> <!-- <script src="../../plugins/jquery.window.js"></script>--> </head> <body> <h2>Basic Window</h2> <div class="demo-info"> <div class="demo-tip icon-tip"></div> <div>Window can be dragged freely on screen.</div> </div> <div style="margin:10px 0;"> <a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#w').window('open')">Open</a> <a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#w').window('close')">Close</a> </div> <div id="w" class="easyui-window" title="Basic Window" data-options="iconCls:'icon-save'" style="width:500px;height:200px;padding:10px;"> The window content. </div> </body> </html>
View Code
插件效果
相关文章推荐
- easyui源码翻译1.32--Dialog(对话框窗口)
- easyui源码翻译1.32--Messager(消息窗口)
- easyui源码翻译1.32--Layout(布局)
- easyui源码翻译1.32--PropertyGrid(属性表格)
- easyui源码翻译1.32--LinkButton(按钮)
- easyui源码翻译1.32--Resizable(调整大小)
- easyui源码翻译1.32+API翻译全篇导航 (提供下载源码)
- easyui源码翻译1.32--SearchBox(搜索框)
- easyui源码翻译1.32--ComboGrid(数据表格下拉框)
- easyui源码翻译1.32--MenuButton(菜单按钮)
- easyui源码翻译1.32--Slider(滑动条)
- jQuery EasyUI API 中文文档 - 窗口(Window)(风流涕淌 (philoo.cnblogs.com) 翻译)
- easyui源码翻译1.32--ComboTree(树形下拉框)
- easyui源码翻译1.32--NumberBox(数值输入框)
- easyui源码翻译1.32--SplitButton(分割按钮)
- Easyui1.32源码+API翻译全篇导航
- easyui源码翻译1.32--accordion(手风琴)
- easyui源码翻译1.32--NumberSpinner(数字微调)
- easyui源码翻译1.32--Calendar(日历)
- easyui源码翻译1.32--DateBox(日期输入框)