As Matthew wrote, it's quite complicated to understand code without jsfiddle. I think I've already created a dynamic iframe resize code which you can use? Check this thread out. https://groups.google.com/group/mootools-users/browse_thread/thread/44b98abb82e1ca09/cfc8c280cf92ed8c?lnk=gst&q=zipz#cfc8c280cf92ed8c
- [Moo] Automatically resizing IFrame in IE ZsZs
- [Moo] Re: Automatically resizing IFrame in IE ZsZs
- [Moo] Re: Automatically resizing IFrame in IE zipz
