I also tried using this other script, but it kept giving me errors & didn't work at all
see, i need page 1 and page 2 to load in the first frame, while page 3 should load in the main window (_top)
HELP!!! what's wrong with this code? or can someone point me to a good tutorial with dropdown menu / frames that works?
___________________
Jun-07-2003 20:58
XLA
Senior tranceaddict
Registered: May 2002
Location: Göteborg, Sweden
Frames are THE root of all fuckin' 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.
___________________
Jun-07-2003 22:06
BigDil
Hungarian trancEaddict
Registered: Mar 2002
Location: Budapest, Hungary
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.
___________________
"I use drugs sometimes... no actually I use them a lot, I'm an addict... My drugs are cheap and they make me feel fine. The only problem is I can't get enough of them... they are called TRANCE, have you heard of them?"
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:
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.