![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVASCRIPT
wozhaoying
这个作者很懒,什么都没留下…
展开
-
jQuery鼠标移入移出
<script type="text/javascript"> $(function(){ /*进入子元素也触发*/ /*$('#div1').mouseover(function() { $(this).animate({marginTop: 50});//.stop() }); $('#div1').mouseout(function() { $(this).animate({marginTop: 100});//.stop() });*/ /*进入子原创 2021-03-18 15:59:21 · 167 阅读 · 0 评论 -
js调用video的播放时长
<video id=“vid”> <source src="./video.mp4"></video> //尽量这样写 别直接再video中写src 那样会出现啊兼容性问题 <div class="time1">00:00:00</div> //视频播放时间 <div class="time1">88:88:88</div>// 视频总时长 var video=document.getElementById('vid原创 2020-11-10 08:25:43 · 1349 阅读 · 0 评论