What I could understand is that you tried to create a section of the page that scrolls as you scroll down/up on the page.
In your CSS, if your iframe id is "frame",
then do this
#frame{
position:fixed;
/* specify widths and heights as you like */
}