d8c2c3b7db4e986b3df91acce7cde7835861fb0d.svn-base 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <!--框架必需start-->
  5. <script type="text/javascript" src="../../libs/js/jquery.js"></script>
  6. <script type="text/javascript" src="../../libs/js/language/cn.js"></script>
  7. <script type="text/javascript" src="../../libs/js/framework.js"></script>
  8. <link href="../../libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  9. <link rel="stylesheet" type="text/css" id="skin" prePath="../../"/>
  10. <link rel="stylesheet" type="text/css" id="customSkin"/>
  11. <!--框架必需end-->
  12. <!--尺寸拖拽调整start-->
  13. <script type="text/javascript" src="../../libs/js/drag/dragResize.js"></script>
  14. <!--尺寸拖拽调整end-->
  15. <script type="text/javascript">
  16. function initComplete(){
  17. $("#img")[0].ondragstart=function(){
  18. return false;
  19. }
  20. $('#img').dragResize();
  21. //$('#myBox').find(".boxContent").dragResize({ handles: 's' });
  22. $('#myBox').dragResize({ handles: 'e' });
  23. }
  24. </script>
  25. <body>
  26. <img src="../../libs/images/demo/demo1.jpg" id="img" style="z-index:3; position:absolute;"/>
  27. <div class="box2_custom" boxType="box2" panelWidth="300" panelHeight="200" panelTitle="可横向拉伸" iconClass="icon_list" style="top:300px;z-index:2; position:absolute;" id="myBox">
  28. </div>
  29. <div class="height_15"></div>
  30. </body>
  31. </html>