題目1: 輪播的實現(xiàn)原理是怎樣的读第?如果讓你來實現(xiàn)哨苛,你會抽象出哪些函數(shù)(or接口)供使用南用?(比如 play())
題目2: 實現(xiàn)視頻中的左右滾動無限循環(huán)輪播效果
<!DOCTYPE html>
<html lang='zh-cn'>
<head>
<meta charset="utf-8">
<title>無限輪播</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/1.9.1/jquery.min.js"></script>
<style type="text/css">
ul,
li{
margin:0;
padding:0;
list-style: none;
}
a{
text-decoration: none;
}
</style>
</head>
<body>
<ul class = 'lunbo'>
<li><a href="">![](http://upload-images.jianshu.io/upload_images/2924168-63ab80e2cf7ddb52?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)</a></li>
<li><a href="">![](http://upload-images.jianshu.io/upload_images/2924168-7381354e358b0760?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)</a></li>
<li><a href="">![](http://upload-images.jianshu.io/upload_images/2924168-1a92fdf2da1bd34a?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)</a></li>
<li><a href="">![](http://upload-images.jianshu.io/upload_images/2924168-aad9cb34bee4cd50?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)</a></li>
</ul>
<a class="next" href="">></a>
<a class='pre' href=""><</a>
<ul class='bullet'>
<li class='active'></li>
<li></li>
<li></li>
<li></li>
</ul>
</body>
</html>
題目3: 實現(xiàn)一個漸變輪播效果, 效果范例492