123456789101112131415161718192021222324252627 |
- /*
- $(document).ready(function(){
- setTimeout('setHight()', 200);
- setTimeout('setHight()', 500);
- setTimeout('setHight()', 2000);
- setTimeout('setHight()', 10000);
- });*/
- $(window).load(function(){
- setHight();
- });
- /*window.onload = function(){
- alert(333);
- setHight();
- };*/
- function setHight(){
- // var _thisHight = $(window.document.body).height()+30;
- // var parentH = $(top.document.body).find("iframe").height();
- // alert($(parent.document.body).prop("outerHTML"));
- // alert(_thisHight+","+parentH);
- if(parent==top){
- $(parent.document.body).find("#frmright").css("height",$(window.document.body).height()+30);
- }
- if(parent!=top){
- $(parent.document.body).find("#frmrightChild").css("height",$(window.document.body).height()+30);
- $(top.document.body).find("#frmright").css("height",$(parent.document.body).height()+30);
- }
- }
|