Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > technical HTML question
  Last Thread   Next Thread
Share
Author
Thread    Post A Reply
whiskers
old skool



Registered: Sep 2001
Location: in your dreams
technical HTML question

all right, i just spent like 2 hours trying to find info on this and i failed... i'm going nuts... someone help!

i'm trying to create a dropdown menu with frames, so that different links load in different frames, including the top window

I tried using this code, but it functions with only one frame







---------------------------------------


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?


___________________

Old Post Jun-07-2003 20:58  Ukraine
Click Here to See the Profile for whiskers Click here to Send whiskers a Private Message Add whiskers to your buddy list Report this Post Reply w/Quote Edit/Delete Message
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.


___________________

Old Post Jun-07-2003 22:06  Sweden
Click Here to See the Profile for XLA Click here to Send XLA a Private Message Visit XLA's homepage! Add XLA to your buddy list Report this Post Reply w/Quote Edit/Delete Message
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?"

Old Post Jun-08-2003 08:45  Hungary
Click Here to See the Profile for BigDil Click here to Send BigDil a Private Message Visit BigDil's homepage! Add BigDil to your buddy list Report this Post Reply w/Quote Edit/Delete Message
magnasoma
TSN - The Gamemaster



Registered: Mar 2003
Location: London

agreed. use server-side includes.


___________________


www.baseref.com
www.magnasoma.com

Old Post Jun-08-2003 14:43  United Kingdom
Click Here to See the Profile for magnasoma Click here to Send magnasoma a Private Message Visit magnasoma's homepage! Add magnasoma to your buddy list Report this Post Reply w/Quote Edit/Delete Message
JohnSmith
Agent Smith



Registered: Apr 2002
Location: Kamloops

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.


___________________

Visit my site Antiwar Homepage

Old Post Jun-08-2003 17:03  Canada
Click Here to See the Profile for JohnSmith Click here to Send JohnSmith a Private Message Add JohnSmith to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > technical HTML question
Post New Thread    Post A Reply

 
Last Thread   Next Thread
Click here to listen to the sample!Pause playback2003 Tune ==== HELP ID [2006] [0]

Click here to listen to the sample!Pause playbackBastard Runners - "Don't Start Me Down" (Pink vs ELO) [2003]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 07:27.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!