I am not very sure about what are you saying. but if you want hide part of the frame. You can set the dom as invisible in your parent windows. It is implemented by:

style.visibility="hidden"