game/ni/index.js

14 lines
367 B
JavaScript
Raw Normal View History

2022-06-06 21:30:34 +00:00
var ni = {
reting_select:function(id) {
var i = 1;
while( i <= 4 ) {
$('.reting_m'+i+'sel').addClass('reting_m'+i+'');
$('.reting_m'+i+'sel').removeClass('reting_m'+i+'sel');
$('#reting_l'+i).hide();
i++;
}
$('.reting_m'+id+'').addClass('reting_m'+id+'sel');
$('.reting_m'+id+'').removeClass('reting_m'+id+'');
$('#reting_l'+id).show();
}
};