PDA

View Full Version : frames....help please


dr_em2001
08-18-2002, 11:30 PM
ok, i have a layout thats left frame, top frame, and right frame, the right frame is of course the main frame, in my left frame, which is the menu, i have links to other sub-pages, and when i click one, the subpage opens in that (left) frame, of course i find that normal and all, i should have thought of it beforei did frames, but how do i get the links on the left frame to open in the right frame?

joh6nn
08-18-2002, 11:50 PM
<A HREF="" TARGET="nameOfRightFrame">click click</A>

boxer_1
08-18-2002, 11:53 PM
Hi, all you need to do is give each of your frames the "name" attribute. Then, to target a specific frame, you just have to target the name of a particular frame. For example:

<a href="whatever.html" target="main">Will oen in main frame</a>

Get the idea? Here's a link that might help you further with frames:

http://hotwired.lycos.com/webmonkey/html/96/31/index3a.html

Good luck ;).

Edit: Didn't see you there Joh6nn when I was replying ;).

Digiwarrior
08-19-2002, 12:26 PM
Or you could do what I did for my site.

Change all those none-functional frames into one page and have the info on another.

Use an Iframe (much like a normal frame) to make a Squar frame that's almost like a spot cut out of the current window that shows a page behind the current one (not quite how it works, but it give you an idea of how it works)

http://www.htmlgoodies.com/tutors/html4_frames.html

That link should give you all the info you need to understand and use an Iframe.

The same site has info on tables (to make your setup) if you need help with that as well.

My site is a good example of what Iframes can do (although my background is said to suck....) http://shared.gamesbygamers.net/SQ

Edit: but right now my host is down!