I have tried.... I have tried a lot many things... Even searched Yahoo! , Google and Bing... Why oh! why does the code not reveal... I just want to complete it and put the quality seal.... External frame resizing... is so fucking tensionizing..... I need to find the solution.... before in my head it causes more pollution.... ================== Normal page structure :- <body> <div> blah blah </div> <iframe> this is an iframe whose source is modified frequently and point to various domains. This needs to be resized dynamically according to the src page it points to right now .... </iframe> </body> I tried many codes, including the "contentWindow.....scrollHeight" thing, but as it is an external frame, the brower blurts something like "Security warning. access to frame with external frame not allowed " .....fucking retarded browser .... Any help here ?
you cannot access iframe opened from other domain for security reason but I think you can create iframe object from javascript, i.e. define iframe size before iframe object is created so, you can re-create iframe object each time you need to re-size
Ok guys, I solved this by using frameset and frame (not iframe) and manipulating the rows="*,45" through javascript while giving a 302 redirect to the dynamic frame.