PDA

View Full Version : Linking in frames...



CW
November 5th, 2000, 17:19
Haylow!


I have a new webpage that I JUST made.... Go to my page: http://www.fantasy.sphosting.com/ And you'll see my little bunny on the left, as the first and only link (so far). Push it. The link loads in the left frame instead of the right!
>:(

Could someone please tell me how to make the page load in the right frame? :)

Thanks,

Forrest

Koolguy
November 5th, 2000, 17:34
Use this for the window that you want the page opened in:
<frame src="main.html" name="main">

to link into that window do this
<a href="whatever.html" target="main">some link</a>

Cagey
November 5th, 2000, 17:55
ALWAYS target your links .... this way you can be sure that they come up the way you want them to.

CW
November 5th, 2000, 19:14
Hi again...

I tried esxactly what you said... I know I'm doing something wrong, because my pages is now loading in a new page! >_<;;

To see, here's my site again: http://www.fantasy.sphosting.com/

Please help,
Forrest

cds
November 5th, 2000, 19:27
In the main page, where you have your frame lists, change this:

<frame name="Forrests Fantasy" src="main.html" NORESIZE>

to this:

<frame name="main" src="main.html" NORESIZE>

and it should work...

Hope it does :)

cds
November 5th, 2000, 19:31
For future reference, if you specify a target that does not exist, it will open up the source in a new window. If you do not specify a target at all, then it will open the source in the same frame as it was called...

CW
November 5th, 2000, 19:37
Thanks a lot!!! I went and did what you said, and it worked just right!!! ^-^ hehe

Thanks!!!!

Forrest