信呼OA版本v2.3.8
This commit is contained in:
12
webmain/index/iframe/rock_iframe.php
Normal file
12
webmain/index/iframe/rock_iframe.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user