案例:jquery案例     状态:可编辑再运行    进入横版
x
<div style="background:#98bf21;height:100px;width:200px;position:absolute;">HELLO</div>
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js/jquery-1.11.1.min.js">
5
</script>
6
<script> 
7
$(document).ready(function(){
8
  $("#start").click(function(){
9
    $("div").animate({left:'100px'},5000);
10
    $("div").animate({fontSize:'3em'},5000);
11
  });
12
  
13
  $("#stop").click(function(){
14
    $("div").stop();
15
  });
16
17
  $("#stop2").click(function(){
18
    $("div").stop(true);
19
  });
20
21
  $("#stop3").click(function(){
22
    $("div").stop(true,true);
23
  });
24
  

 运行结果 
 北美留学生论坛