Effects/API/jQuery - Sample Code
jQuery.fx.off
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="/jquery/js/jquery.js"></script>
<script>
$(document).ready(function(){
$(":checkbox").click(function(){
jQuery.fx.off = !$(this).attr("checked");
});
$(":button").click(function(){
$("div").toggle("slow");
});
});
</script>
<style>
body { cursor:pointer; }
div { width:50px; height:30px; margin:5px; float:left;
background:green; }
span { color:red; }
</style>
</head>
<body>
<label><input type="checkbox" checked="checked">アニメーション</label>
<input type="button" value="toggle"/>
<div></div>
</body>
</html>
[実行結果]