free
This is our archive, please go to the main forum page for the latest discussions and news about free web hosting.


Linking in frames...

CW
November 5th, 2000, 16: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, 16: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, 16: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, 18: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, 18: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, 18: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, 18:37
Thanks a lot!!! I went and did what you said, and it worked just right!!! ^-^ hehe

Thanks!!!!

Forrest





  
  News · Search free hosts · Free file hosting · Free image hosting · Reviews · Forums · Related Links · Advertising Info · Contact Us


Copyright © 1996-2008 Per Olof Sandholm. All rights reserved. Privacy Statement

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum