Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/458.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 我能';t在最简单的情况下使用velocity.js函数。我错过了什么?_Javascript_Jquery_Velocity.js - Fatal编程技术网

Javascript 我能';t在最简单的情况下使用velocity.js函数。我错过了什么?

Javascript 我能';t在最简单的情况下使用velocity.js函数。我错过了什么?,javascript,jquery,velocity.js,Javascript,Jquery,Velocity.js,我正在浏览器上用一个非常简单的脚本尝试velocity.js,但我无法让它工作。也许有人能帮我 <html> <head> <script src="http://code.jquery.com/jquery-2.1.3.min.js"></script> <script src="https://raw.githubusercontent.com/julianshapiro/velocity/master/velocity.min.

我正在浏览器上用一个非常简单的脚本尝试velocity.js,但我无法让它工作。也许有人能帮我

    <html>
<head>
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://raw.githubusercontent.com/julianshapiro/velocity/master/velocity.min.js"></script>

</head>

<body>
<div class="probatorio_torio_" style="width:50px; background-color: blue; height: 50px;">&nbsp;</div>
<script type="text/javascript">
$(document).ready(function () {
    alert("Se hizo, la secuencia");
    var $div = $(".probatorio_torio");
    alert($div);
    $div.velocity({opacity: 0}, 1000)
    $div.velocity({width: "500px", opacity: 1}, {duration: 400, easing: "swing"}, function(){alert("completado")});
});
</script>


</body>

</html>

$(文档).ready(函数(){
警报(“东南希佐,拉塞恩西亚”);
var$div=$(“.probitorio_-torio”);
警报($div);
$div.velocity({opacity:0},1000)
$div.velocity({宽度:“500px”,不透明度:1},{持续时间:400,缓和:“swing”},函数(){alert(“completado”)});
});

提前感谢。

您的课程名为
probatorio\u torio\u
,但您正在寻找
probatorio\u torio