You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
629 B
20 lines
629 B
$(function(){
|
|
$(".prompt").click(function(){
|
|
$(".model_wrap").show();
|
|
$(".jump").removeClass("unchoose");
|
|
$(".Previous").removeClass("unchoose");
|
|
$(".nextPage").removeClass("unchoose");
|
|
$(".content").eq(0).removeClass("unchoose");
|
|
});
|
|
|
|
$(".nextPage").click(function () {
|
|
$(".content").each(function (i,item) {
|
|
console.log(i);
|
|
console.log(item);
|
|
if(!$(this).eq(i).toggleClass("unchoose")){
|
|
$(this).eq(i).addClass("unchoose");
|
|
$(this).eq(i+1).removeClass("unchoose");
|
|
}
|
|
})
|
|
})
|
|
}); |