|
@@ -78,8 +78,7 @@
|
|
|
</form>
|
|
|
<div>
|
|
|
<iframe
|
|
|
- src="" width="100%" height="100%"
|
|
|
- scrolling="no" id="Iframe" frameborder="0"></iframe>
|
|
|
+ src="" scrolling="no" id="Iframe" frameborder="0"></iframe>
|
|
|
</div>
|
|
|
</div>
|
|
|
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/laydate/laydate.js"></script>
|
|
@@ -92,10 +91,13 @@
|
|
|
<script type="text/javascript">
|
|
|
$(function () {
|
|
|
$("#Iframe").load(function(){
|
|
|
- $(this).css("min-height", '900px')
|
|
|
- $(this).css("min-width", '1650px')
|
|
|
- var iframeHeight = $(this).contents().find("html").height();
|
|
|
- console.log('iframeHeight', iframeHeight);
|
|
|
+ // $(this).css("min-height", '900px')
|
|
|
+ // $(this).css("min-width", '1650px')
|
|
|
+ var iframeHeight = $(this).contents().find("html").height();
|
|
|
+ var iframeWidth = $(this).contents().find("html").width();
|
|
|
+ $(this).attr("height",iframeHeight)
|
|
|
+ $(this).attr("width",iframeWidth)
|
|
|
+ console.log('iframeHeight', iframeHeight, iframeWidth);
|
|
|
});
|
|
|
$('#timeSelect').change(function () {
|
|
|
let val = $(this).val()
|