f07a197097f9d6c2d4399328baa996baa2c0cfe9.svn-base 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. %>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9. <title></title>
  10. <!--框架必需start-->
  11. <script type="text/javascript" src="<%=path%>/libs/js/jquery.js"></script>
  12. <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
  13. <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
  14. <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  15. <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
  16. <link rel="stylesheet" type="text/css" id="customSkin"/>
  17. <!--框架必需end-->
  18. </head>
  19. <body>
  20. <script>
  21. function window1Func(){
  22. alert("这是第一个窗口的方法!");
  23. }
  24. </script>
  25. <body>
  26. <fieldset>
  27. <legend>dom节点获取</legend>
  28. 弹出窗口后新窗口的表单内容会回填到这里:<input type="text" id="input1"/><br />
  29. <input type="button" value="弹出窗口" onclick='top.Dialog.open({URL:"<%=path%>/sample/popup/window-content6.jsp",Width:300,Height:200,Title:"第二个窗口"});'/>
  30. </fieldset>
  31. <div class="height_25"></div>
  32. <fieldset>
  33. <legend>方法互调</legend>
  34. <input type="button" value="弹出窗口" onclick='top.Dialog.open({URL:"<%=path%>/sample/popup/window-content7.jsp",Width:300,Height:200,Title:"第三个窗口"});'/>
  35. </fieldset>
  36. </body>
  37. </html>