老师,我的js代码没实现效果

<!DOCTYPE html>

<html>

<head>

    <meta charset="UTF-8">

    <title></title>

    <link rel="stylesheet" type="text/css" href="ds/css/ds.css">

    <script type="text/javascript" src="ds/js/jquery.js"></script>

    <script type="text/javascript" src="ds/js/velocity.min.js"></script>

    <script type="text/javascript" src="ds/js/velocity.ui.min.js"></script>

</head>

<body>

    <div id="div1"></div>

    <script type="text/javascript" src="ds/js/abc.js"></script>

</body>

</html>



/**

 * Created by zhangjie on 2015/10/7.

 */

(function($){

   $('#div1').velocity({

       width: '300px'});

})(jQuery);


IT丶杰
浏览 1320回答 1
1回答

arlenhui

没使用过velocity,你可以说一下报错是什么
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript