轮播无限向上滚动
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script src="jquery-1.9.0.js" type="text/javascript" charset="utf-8"></script> <style type="text/css"> *{ margin: 0; padding: 0; } li{ list-style: none; } #top{ width: 50px; height: 100px; border: 1px solid #f00; margin: 100px auto; line-height: 20px; overflow: hidden; position: relative; /*top: 0;*/ } /*.top{ top: 0; position: absolute; left: 0; }*/ /*.top .ul1{ position: absolute; left: 0; top: 0; } .top .ul2{ position: absolute; left: 0; top: 180px; }*/ </style> </head> <body> <div id="top"> <div id="ul1"> <ul> <li>11</li>