实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
AخA
 
1
<!doctype html>
2
<html lang="en">
3
<head>
4
  <meta charset="utf-8">
5
  <title>jQuery UI 特效 - .hide() 演示</title>
6
  <link rel="stylesheet" href="//apps.bdimg.com/libs/jqueryui/1.10.4/css/jquery-ui.min.css">
7
  <script src="//apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
8
  <script src="//apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
9
  <link rel="stylesheet" href="jqueryui/style.css">
10
  <style>
11
  .toggler { width: 500px; height: 200px; }
12
  #button { padding: .5em 1em; text-decoration: none; }
13
  #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
14
  #effect h3 { margin: 0; padding: 0.4em; text-align: center; }
15
  </style>
16
  <script>
17
  $(function() {
18
    // 运行当前选中的特效
19
    function runEffect() {
20
      // 从中获取特效类型
21
      var selectedEffect = $( "#effectTypes" ).val();
22