index=-1,
flag=0;
// 点击三角时
title.onclick=function(event){
if (flag==0){
menu.style.display = "block";
flag = 1;
}else{
menu.style.display = "none";
flag = 0;
}
flag=0;
// 点击三角时
title.onclick=function(event){
if (flag==0){
menu.style.display = "block";
flag = 1;
}else{
menu.style.display = "none";
flag = 0;
}
window.onload=function(){
var title=document.getElementById('title'),
play=document.getElementById('play'),
Stop=document.getElementById('stop');
//开始抽奖
play.onclick=playFun;
}
var title=document.getElementById('title'),
play=document.getElementById('play'),
Stop=document.getElementById('stop');
//开始抽奖
play.onclick=playFun;
}
2016-06-22
发音不准我不吐槽了,client都读错了...希望不要误导大家.万一去面试正好问到这个你克里特这个发音,立马pass,哈哈哈.
2016-06-21
#close{width:14px;height:14px;background:url(http://icon.mobanwang.com/UploadFiles_8971/200805/20080528160815283.png) no-repeat;position:absolute;right:34px;top:46px;}
addEvent(login_btn,"click",showLogin);
//点击关闭按钮隐藏登录层
addEvent(close,"click",hideLogin);
addEvent(login_btn,"click",showLogin);
//点击关闭按钮隐藏登录层
addEvent(close,"click",hideLogin);