案例:jQuery UI案例     状态:可编辑再运行    进入横版
AخA
 
1
<!doctype html>
2
<html lang="en">
3
<head>
4
  <meta charset="utf-8">
5
  <title>jQuery UI 缩放(Resizable) - 延迟开始</title>
6
  <link rel="stylesheet" href="/css/jqu1.10.4/jquery-ui.min.css">
7
  <script src="/js/jqu/jquery.min1.10.2.js"></script>
8
  <script src="/js/jqu/jquery-ui.min1.10.4.js"></script>
9
  <link rel="stylesheet" href="jqueryui/style.css">
10
  <style>
11
  #resizable, #resizable2 { width: 150px; height: 150px; padding: 0.5em; }
12
  #resizable h3, #resizable2 h3 { text-align: center; margin: 0; }
13
  </style>
14
  <script>
15
  $(function() {
16
    $( "#resizable" ).resizable({
17
      delay: 1000
18
    });
19
 
20
    $( "#resizable2" ).resizable({
21
      distance: 40
22
    });
23
  });
24
  </script>

 运行结果 
 北美留学生论坛