返回值:NumberjQuery.fx.interval
概述 V1.4.3新增
設(shè)置動(dòng)畫的顯示幀速。
示例
描述: 幀速設(shè)置為100ms
jQuery 代碼:
<!DOCTYPE html>
<html>
<head>
<style>
div { width:50px; height:30px; margin:5px; float:left;
background:green; }
</style>
<script src="http://code.jquery.com/jquery-1.4.4.js"></script>
</head>
<body>
<p><input type="button" value="Run"/></p>
<div></div>
<script>
jQuery.fx.interval = 100;
$("input").click(function(){
$("div").toggle( 3000 );
});
</script>
</body>
</html>
< /PRE >< /PRE >