手动编写一个弹出框
2016-10-20 13:50
169 查看
<html><head> <link rel="stylesheet" href="query-ui.css"> <script src="jquery-1.9.1.js"></script> <script src="jquery-ui.js"></script> <link rel="stylesheet" href="style.css"> <script> $(function(){ $("#msg").draggable();}) </script></head><body><div id="msg" style="width:300px;height:200px;border:1px solid #eee;float:left;position:fixed; top:45%; left:45%;"> <div style="background:#eee;"> <div onclick="javascript:document.getElementById('msg').style.display='none';" style="height:20px;float:right;"> X </div> <div style="height:25px;width:20px;"> <nobr>提示</nobr> </div> </div> <div style="width:100%,height:180px;text-align:center;line-height:180px;"> 至少选择一项 ! </div> </div> </body> </html> 引用的文件路径
code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css code.jquery.com/jquery-1.9.1.js code.jquery.com/ui/1.10.4/jquery-ui.js http://jqueryui.com/resources/demos/style.css[/code]
相关文章推荐
- 一个js编写全选、弹出对话框、ajax-json的案例
- 编写一个脚本,对至少三个以上记事本窗口做相同操作,对任意一个窗口进行手动操作,其余窗口由脚本执行相同步骤的键鼠操作,记得是键盘操作+鼠标操作。
- loadrunner手动编写脚本完成一个登录购买流程
- 用VB编写一个弹出菜单类
- iOS 手动实现modal效果,从底部弹出一个控制器
- 用VB编写一个弹出菜单类
- 利用React/anu编写一个弹出层
- 手动编写一个Servlet程序
- 利用React/anu编写一个弹出层
- 一个js编写全选、弹出对话框、ajax-json的案例
- 一个js编写全选、弹出对话框、ajax-json的案例
- Cocosd2d 手动编写一个shader
- Servlet学习日记(一)——什么是Servlet及手动编写一个简单的servlet
- 手动编写、编译一个servlet
- C#的winforms程序中的弹出窗口编写方式 一个窗口类
- 手动编写一个servlet部署在tomcat上
- 用VB编写一个弹出菜单类
- windowAPI--手动编写一个消息窗口
- Bootstrap编写一个在当前网页弹出可关闭的对话框 非弹窗
- 用Curses函数编写一个汉诺塔游戏