נסה את זה
parent.document.getElementsByTagName("IFRAME").item(0).setAttribute("height", the size you want); parent.document.getElementsByTagName("IFRAME").item(0).setAttribute("width", the size you want);
אני לא בטוח אם זה יעבוד במידה ומידות הפריים מוגדרות ב css במקרה זה נסה אולי:
parent.document.getElementsByTagName("IFRAME").item(0).style.width = the size you want parent.document.getElementsByTagName("IFRAME").item(0).style.height = the size you want