3d机房增加最大化按钮

This commit is contained in:
chenjinsong
2018-10-09 15:34:20 +08:00
parent b40b3f8c31
commit 55f6ac9681
2 changed files with 4 additions and 3 deletions

View File

@@ -647,7 +647,7 @@ html, body {
</div>
<!-- 3D机房弹框 -->
<div id="nodeBoxs" style="display:none;"></div>
<div id="alarmInfo" style="display:none;">
<div id="alarmInfo" style="display:none;height:100%">
<iframe id="I6" name="I6" border="0"
style="background: #FFFFFF;min-height:400px;min-width:600px" frameborder="0" src="" scrolling="no">
i18n_snr.message.frame_n81i

View File

@@ -477,14 +477,15 @@ body {
type: 1,
area: [thiswidth + 'px', thisheight + 'px'],
scrollbar: true,
maxmin: true,
content: window.top.$("#alarmInfo")
})
window.top.$("#I6").html("");
window.top.$("#I6").attr("src",url);
window.top.$("#I6").load(function(){
var main = window.top.$("#I6");
main.height(thisheight);
main.width(thiswidth);
main.height("100%");
main.width("100%");
});
}