Files
xinhu/webmain/index/iframe/rock_iframe.php
2022-08-14 16:47:40 +08:00

12 lines
395 B
PHP

<?php defined('HOST') or die('not access');?>
<script >
$(document).ready(function(){
{params}
var url = jm.base64decode(params.url);
get('iframe{rand}').src = url;
$('#iframediv{rand}').css('height',''+(viewheight-20)+'px');
});
</script>
<div style="height:200px" id="iframediv{rand}">
<iframe src="" id="iframe{rand}" width="100%" height="100%" frameborder="0"></iframe>
</div>