5c6713d4395c4ba7b261e31027be9d103b76bc42.svn-base 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8. <!--框架必需start-->
  9. <script type="text/javascript" src="<%=path%>/libs/js/jquery.js"></script>
  10. <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
  11. <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
  12. <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  13. <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
  14. <link rel="stylesheet" type="text/css" id="customSkin"/>
  15. <!--框架必需end-->
  16. <!--尺寸拖拽调整start-->
  17. <script type="text/javascript" src="<%=path%>/libs/js/drag/dragResize.js"></script>
  18. <!--尺寸拖拽调整end-->
  19. <script type="text/javascript">
  20. function initComplete(){
  21. $("#img")[0].ondragstart=function(){
  22. return false;
  23. }
  24. $('#img').dragResize();
  25. //$('#myBox').find(".boxContent").dragResize({ handles: 's' });
  26. $('#myBox').dragResize({ handles: 'e' });
  27. }
  28. </script>
  29. <body>
  30. <img src="<%=path%>/libs/images/demo/demo1.jpg" id="img" style="z-index:3; position:absolute;"/>
  31. <div class="box2_custom" boxType="box2" panelWidth="300" panelHeight="200" panelTitle="可横向拉伸" iconClass="icon_list" style="top:300px;z-index:2; position:absolute;" id="myBox">
  32. </div>
  33. <div class="height_15"></div>
  34. </body>
  35. </html>