|
|
@ -104,4 +104,13 @@
|
|
|
|
$("#user_show_more_course").hide();
|
|
|
|
$("#user_show_more_course").hide();
|
|
|
|
$('#user_hide_course').show();
|
|
|
|
$('#user_hide_course').show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(".course_list_menu").each(function(){
|
|
|
|
|
|
|
|
var courseWidth = $(this).children().eq(0).width();
|
|
|
|
|
|
|
|
var classWidth = 160 -courseWidth;
|
|
|
|
|
|
|
|
console.log(courseWidth, classWidth);
|
|
|
|
|
|
|
|
if(courseWidth < 80){
|
|
|
|
|
|
|
|
$(this).children().eq(2).css("max-width",classWidth + "px");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|