PDA

View Full Version : possible to create dynamic frames?


kman_91
06-27-2003, 08:57 AM
Hello everybody,
I´m currently working on a project for my Bachelor thesis and I have a design problem. I´m not quit sure if this is the right forum for this question but I will give it a go anyway.

My problem is now this. I´m using frames to create the startpage of the project. I now want to have a frame in the middle of the page, and a frame on each side of this middleframe.
-------------------------
| | | |
| | | |
| | | |
-------------------------

I want the middleframe to be 800 pixels wide and the rest of the availabe screen to be devided between the frames on the sides. I have no trouble getting the resoltuion of the visitor, but I´m having trouble using this information when I create the frameset.
I have little experience in HTLM, but absolutley no expert. I´m more familiar with different programming troubles.

Can anyone please help me with this trouble.

best regards/
Peter

Kor
06-27-2003, 09:12 AM
Try using inline frames <iframe> instead of frame. You can give height and width as well. You can put iframes into a table, and position them whereever on page.

Also, iframes can be dinamicaly generated, if you want, and they can be treated as Objects, so, using CSS or DOM script you can position them and give visibility as well.

See http://www.w3.org/TR/REC-html40/present/frames.html

kman_91
06-27-2003, 09:17 AM
thanks a lot, I think I found the solution i the link you posted.

I´m very greatful for your fast reply.

best regards/
Peter