View Full Version : Help With Inline Frames Please...?


Munchkin
01-30-2003, 02:37 AM
Hello! My name is Munchkin....that is because I am short....=)
I need some help with my web site. I am trying to set up an inline frame, for my web pages to appear in. That is clear...right? I hope so.
So now, I am stuck. Very annoying. I want to have frames on the top of my inline frame page. So that the visitors, they go in. The home page is in the inline frame, all nice and pretty. *innocent smile* But then at the top of the page, I would like the links to my other pages at the top. When you click on them, I would like the sublinks to appear at the bottom, and then when you click on the sublinks, the page should appear in the inline frame. With me so far? Aah...good for you. Smart, eh? *taps head*
So...my site is a petz site. In case you don't know what that is, it is a game that you have virtual petz. This is just an example and not advertising! Here is an example on how I would like to have it set up...

So say at the top there is a link that says:
Adoption

Good, good. You think: Yay! I will click on the Adoption link and you do so.

Then at the bottom of the screen, underneath the inline frame, there is four links that say: Center Litterz MPA Back

Still with me? Good, good.

So you double click on the link that says MPA. Now, if I can get help on this, the MPA Page will appear in the inline frame.

Now...all the expert HTML peoples...can you help me do that? I would be very happy, and I really need the help...

THANKIES SO MUCH IF YOU DO HELP, AND TO ALL WHO READ THIS FOR NO APPARENT REASON, HAVE A NICE DAY!

Dude128
01-30-2003, 03:21 AM
all you have to do is target the link:

<a href="page.html" target="nameofyouriframe">Link</a>

just make sure the target matches your iframe name exactly (it is the name attribute in the <iframe> tag- you should have <iframe ... name="somename" ...>)

Munchkin
02-02-2003, 12:56 AM
Hey!
Thanks so much for that....but I do have a problem. With normal frames, right, there is an index page and the page you want them to see. Yus? Too confusing? so if you put your links appearing in the iframe, do u have a index page?