Forum OpenACS Q&A: default-master and frames

Collapse
Posted by Windell Dubois on
Ive been trying modify my default-master in such a way that it will allow me to put the content pages within an iframe at the middle of the page, so I can have frames above and below the content frame, but to no avail so far.  I believe my main problem is I cant produce the correct "src" attribute for the iframe. Can anyone help me with this matter??

Thanks.

Windell

Collapse
Posted by Andrei Popov on
Why do you need a frame?  Frames are evil :)

Would not DIV suffice?

Collapse
Posted by Nis Jørgensen on
At Greenpeace our administration pages are using frames - but not in a master-template.

Remember, when you are serving a page with an iframe, you are serving _two_ html-documents.

Once you tell us what the html of these two pages should look like, we can better tell you how to do it with templates.

Collapse
Posted by Windell Dubois on
Ok, here's the thing, Ive got a header frame, the content frame and the footer frame.  The header and footer are suposed to stay in place while the content one is allowed to scroll.  So as you can see, Im serving not 2 but 3 html files, and Ive managed to put in the header and footer frames, but the content just wont show, and its my belief that its because I cant pass the proper src attribute to the iframe (like I mentioned in my previous post).  Can u help??

Thanks,

Windell.

PS: No, a simple <div> tag wouldnt help me much.