<!DOCTYPE html> <lang html="en"> <head> <title>视频练习</title> <head> <style> #contain{ width:1325px; height:1000px; background-color:#CCCCCC; } #slider{ width:600px; height:400px;} </style> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="contain"> <div id="slider"> <ul> <li><img src="text1.jpg"></li> <li><img src="text2.jpg"></li> <li><img src="text3.jpg"></li> <li><img src="text4.jpg"></li> </ul> <div> <span> < </span> <span> > </span> </div> </div> <script> slideLlx("slider"); </script> </div> </body> </html>
请问有什么问题
要调用相应的样式class="slide",class="prev_btn",class="next_btn"
<div id="contain"> <div id="slide" class="slide"> <ul> <li><img src="img/1.png"></li> <li><img src="img/2.png"></li> <li><img src="img/3.png"></li> <li><img src="img/4.png"></li> </ul> <div> <span class="prev_btn"> < </span> <span class="next_btn"> > </span></div> </div> </div>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <!-- <link rel="stylesheet" href="css/style.css"> --> <!-- <link rel="stylesheet" href="css/zoomify.css"> --> <link rel="stylesheet" href="css/style_lunbo.css"> <style> ul { width:100%; } </style> </head> <body> <div id="slide" > <ul> <li><img src="../res/img/23.jpg"></li> <li><img src="../res/img/24.jpg"></li> <li><img src="../res/img/25.jpg"></li> <li><img src="../res/img/22.jpg"></li> </ul> <div> <span > < </span> <span > > </span> </div> </div> <!-- <div class="example"> --> <!-- <img src="../res/img/55.jpeg" alt=""></div> --> <!-- --> <script> // $('.example img').zoomify(); slideLlx("slide");//参数为字符串是外层容器的id,可以多次调用 </script> </body> </html>
我这个哪里错了?