发新话题
打印

[求助] 想要下以前会员一键上传道具的那个链接谁有帮忙发下谢谢了

ⓘ警告:该用户的评论因涉嫌论坛灌水违规,已被屏蔽!

TOP

ⓘ警告:该用户的评论因涉嫌论坛灌水违规,已被屏蔽!

TOP

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>验证</title>
<style>
#wrap{ width:215px; height:200px; border:1px solid #ddd; margin-top:10px; overflow:auto; position:relative;}
#wrap ul{ padding:0; margin:0;}
#wrap ul li{ width:50px; margin:5px 2px 5px 11px; height:30px; background:#CFC; float:left; font-size:13px; list-style:none; line-height:30px; text-align:center;}

#wrap ul li.yes1{ background:#40F0ED;}
#wrap ul li.yes2{ background:#5F3FEF;}
#wrap ul li.yes3{ background:#EF3FD7;}
#wrap ul li.yes4{ background:#5F3FEF;}
#wrap ul li.yes5{ background:#f00;}
#wrap ul li.no{ background:#F39;}
#tipInfor{ position:absolute; left:0; top:0; overflow:hidden; height:0; z-index:10; width:100%; background:#f1f1f1; color:#333; font-size:13px; font-weight:bold; line-height:24px;}
</style>
</head>
<body>
<div>
  <input type="text" />
  <button>开始</button>
</div>
<div id="wrap">
<div id="tipInfor">阿里西西提示您:您所查询的号码不在数据库编号中,请确认您输入的编号是否正确!</div>
  <ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
    <li>4</li>
    <li>5</li>
    <li>6</li>
    <li>7</li>
    <li>8</li>
    <li>9</li>
    <li>10</li>
    <li>11</li>
    <li>12</li>
    <li>13</li>
    <li>14</li>
    <li>15</li>
    <li>16</li>
    <li>17</li>
    <li>18</li>
    <li>19</li>
    <li>20</li>
    <li>21</li>
    <li>22</li>
    <li>23</li>
    <li>24</li>
  </ul>
</div>
</body>
</html>
<script type="text/javascript">
var obj=document.getElementById("wrap");
var btn=document.getElementsByTagName("button")[0];
var aLi=document.getElementsByTagName("li");
var a=document.getElementById("tipInfor");
String.prototype.trim=function(){
var reg=/s/g;
return this.replace(reg,"")
}

btn.onclick=function(){
init();
obj.style.overflow="auto";
var txt=document.getElementsByTagName("input")[0].value;
var i=0;
btn.timer=setInterval(function(){
  if(i==aLi.length){
   clearInterval(btn.timer)
   obj.style.overflow="hidden";
   a.style.height="100%";
   obj.scrollTop=0;
   return;
  }
  console.log(aLi.innerHTML+"~~~~"+txt)
  if(aLi.innerHTML!=txt){
   obj.scrollTop=aLi.offsetTop*0.7;
   aLi.className="no";
  }else{
   blinkBg(aLi);
   clearInterval(btn.timer);
  }
  i++;
},100)



}
function init(){
for(var i=0;i<aLi.length;i++){
  aLi.className="";
}
a.style.height=0;
}
function blinkBg(obj){
var bgArr=["yes1","yes2","yes3","yes4","yes5"]
var i=0;
obj.timer=setInterval(function(){
  if(i==bgArr.length-1){
   clearInterval(obj.timer);
  }
  obj.className=bgArr;
  i++;
  
},
  
150)

}
</script>

TOP

TOP

TOP

想要下以前会员
追逐流逝的岁月┈━═☆┈━═☆┈━═☆
        

TOP

TOP

TOP

啊,

长了颗红楼梦的心,

却生活在水浒的世界,

想交些三国里的桃园弟兄,

却总遇到些西游记里的妖魔鬼怪

TOP

ⓘ警告:该用户评论因涉嫌论坛灌水违规,已被屏蔽!

TOP

发新话题