views:

80

answers:

3

Hi

I would like to create an html frameset like the picture below.

can anyone point me in an helpful direction as I'm not sure how to create this?

Should I use frameset or something else like AJAX?

------------------------------------------
|                                        |
|                                        |
|----------------------------------------|
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
------------------------------------------
A: 

Here you have some doc about frames, but are you sure you want to do that? I won't explain here why it's bad but it really is, for many reasons.

Could you edit your question to explain more precisely what you are trying to achieve? Like this we'll may be able to tell you what's your best choice, because may be you don't even need AJAX.

p4bl0
Adam
The two other answer are good for what you want. And since you have php, consider using `include` to "simulate" your frame.
p4bl0
@Adam: If you look at the source for the example Google page you give there, you'll see that there aren't any frames at all. You can achieve the look and feel you want without using frames.
khedron
+1  A: 

You can learn about frames and framesets from the excellent tutorials available from the w3schools. However, as a word of advice, AJAX is not particularly involved in the management of framesets in any special or unique way. Besides, you can achieve the desired layout using the CSS box model just fine! Plenty of examples on the web. Check out the stuff at OSWD, CSS Zen Garden and plenty of others around the web. CSS is your friend and it looks (usually) much better than frameset.

yonkeltron
+2  A: 

Don't use frames and framesets as they are deprecated in HTML5. You don't need Ajax, since layout has nothing to do with asynchronous updates. Instead, use a CSS layout like one of these examples.

Dan Diplo