<script type="text/javascript">
var h=document.documentElement.clientHeight;
$(function(){
chh();
function chh(){/*change height*/
var h=$(window).height();
$("#main").css("height",h-55+'px');
}
$(window).resize(function(){
chh();
})
})
</script>
<iframe id="main" src="index.php/admin/index/test" overflow="hidden" width="100%" frameborder="0" scrolling="no" >
var h=document.documentElement.clientHeight;
$(function(){
chh();
function chh(){/*change height*/
var h=$(window).height();
$("#main").css("height",h-55+'px');
}
$(window).resize(function(){
chh();
})
})
</script>
<iframe id="main" src="index.php/admin/index/test" overflow="hidden" width="100%" frameborder="0" scrolling="no" >