|
|
|
@ -8,3 +8,15 @@ $('#score_<%= @work.id%>').peSlider({range: 'min'});
|
|
|
|
|
<% end%>
|
|
|
|
|
|
|
|
|
|
$("#student_work_<%= @work.id%>").replaceWith("<%= escape_javascript(render :partial => 'student_work',:locals => {:student_work => @work}) %>");
|
|
|
|
|
$(function(){
|
|
|
|
|
$(".student_score_info").bind("mouseover",function(e){
|
|
|
|
|
//alert($(this).html());
|
|
|
|
|
$(this).find("div").show();
|
|
|
|
|
$(this).find("div").css("top",e.pageY);
|
|
|
|
|
$(this).find("div").css("left",e.pageX);
|
|
|
|
|
});
|
|
|
|
|
$(".student_score_info").bind("mouseout",function(e){
|
|
|
|
|
//alert($(this).html());
|
|
|
|
|
$(this).find("div").hide();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|