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
612 B
20 lines
612 B
$("#all_task_show").html('<%= escape_javascript(render :partial => 'games/games_list') %>');
|
|
$("#all_task_show").css("height", "100%");
|
|
if(fadein == 0){
|
|
$("#all_task_show").css("background", "rgba(0,0,0,0.3)");
|
|
$("#all_task_show").show();
|
|
$("#all_task_index").css("left","-420px").stop().animate({
|
|
left: 0
|
|
}, 400, function(){
|
|
fadein = 1;
|
|
});
|
|
}else{
|
|
$("#all_task_show").css("background","rgba(0,0,0,0)");
|
|
$("#all_task_index").css("left", 0).stop().animate({
|
|
left: "-505px"
|
|
}, 400, function(){
|
|
$("#all_task_show").hide();
|
|
fadein = 0;
|
|
});
|
|
}
|