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.
32 lines
949 B
32 lines
949 B
$(function(){
|
|
$(".prompt").click(function(){
|
|
$(".model_wrap").show();
|
|
$(".model-bg").eq(0).removeClass("unchoose");
|
|
$('.jump').removeClass('unchoose');
|
|
$('#side-menu li').eq('4').addClass('boo');
|
|
});
|
|
|
|
$(".model-bg").each(function (i) {
|
|
var _that=$(this);
|
|
_that.find(".nextPage").click(function () {
|
|
_that.addClass("unchoose");
|
|
$(".model-bg").eq(i+1).removeClass("unchoose");
|
|
$(".")
|
|
});
|
|
_that.find(".Previous").click(function () {
|
|
_that.addClass("unchoose");
|
|
$(".model-bg").eq(i-1).removeClass("unchoose");
|
|
});
|
|
});
|
|
|
|
$(".perfection").click(function () {
|
|
$(".jump").addClass('unchoose');
|
|
$(".model_wrap").hide();
|
|
});
|
|
|
|
$(".jump").click(function () {
|
|
$(this).addClass('unchoose');
|
|
$(".model_wrap").hide();
|
|
$(".model-bg").addClass("unchoose");
|
|
});
|
|
}); |