题库预览弹窗的调整
This commit is contained in:
parent
9594aada50
commit
0ed508a887
|
@ -3,5 +3,5 @@
|
|||
$("#choose_courses_notice").html("");
|
||||
<% else %>
|
||||
var htmlvalue = "<%= escape_javascript(render :partial => 'users/homework_repository_detail') %>";
|
||||
pop_box_new(htmlvalue,820,155);
|
||||
pop_box_new(htmlvalue,820,800);
|
||||
<% end %>
|
|
@ -1495,7 +1495,7 @@ function pop_up_box(value,tWidth,tTop,tLeft){
|
|||
// 公共弹框样式
|
||||
function pop_box_new(value, Width, Height){
|
||||
w = ($(window).width() - Width)/2;
|
||||
h = ($(window).height() - Height)/2 - 100;
|
||||
h = ($(window).height() - Height)/2;
|
||||
$("#ajax-modal").html(value);
|
||||
showModal('ajax-modal', Width + 'px');
|
||||
$('#ajax-modal').siblings().remove();
|
||||
|
|
Loading…
Reference in New Issue