|
technical HTML question
|
View this Thread in Original format
| XLA |
| Frames are THE root of all in' evil mate. You wanna learn a server side language like PHP or ASP for this, and use tables and/or layers and includes. Most of the time, if I see a frame on a website I just close the bugger. I hate them. So I advise against trying to do that. Sure, with PHP and a MySQL database you could do that in like 6 lines of code I reckon. I realise you probably can't be arsed to learn a new language, but I'm just advising. It's yer best bet IMO. |
|
|
| BigDil |
| yea, frames are kinda outdated, and annoying as well. this issue can be easily solved by using php includes. if you need any help with it, just let me (us) know. :) |
|
|
| magnasoma |
| agreed. use server-side includes. |
|
|
| JohnSmith |
disagree. the use of server side includes is OK, but frames are better for straight display of static content. and it's way less complicated than your making it.
all you have to do is name your frames, and then it becomes easy. on your main page, you define the frameset:
then, i'm guessing page1.html is your navigation? in there, you link to page2.html like this:
target="frame2">Frame 2
if you want a different page to open up in a certain frame, then you just give it a target and it will open there. if you give it no target, it will open in the frame you are in. you can also give it target = "_top" and it will open on TOP of the frameset you have (replacing the frameset with one whole page). Or you can go target = "_new" to make it open in a new window.
hope i helped! Frames are a good tool. make sure to turn the borders off though, they look ugly. PM me if you need info on this, i gotta go now. |
|
|
|
|