实训弹框高度调整
This commit is contained in:
parent
2aaaf5469a
commit
b744b9786f
|
@ -120,7 +120,8 @@
|
||||||
$("#code_results").html(html);
|
$("#code_results").html(html);
|
||||||
if(data.status == 2){
|
if(data.status == 2){
|
||||||
var htmlvalue = "<%= j (render :partial => 'games/pass_game_show', :locals => { :game=> @game, :myshixun => @myshixun}) %>";
|
var htmlvalue = "<%= j (render :partial => 'games/pass_game_show', :locals => { :game=> @game, :myshixun => @myshixun}) %>";
|
||||||
pop_box_new2(htmlvalue, 1920, window.innerHeight);
|
// 传递具体屏幕的宽高,实现不同浏览器与不同分辨率都能撑满屏幕
|
||||||
|
pop_box_new2(htmlvalue, window.innerWidth, window.innerHeight);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(i == 30){
|
if(i == 30){
|
||||||
|
|
Loading…
Reference in New Issue