Link to home
Start Free TrialLog in
Avatar of Ryan Bayne
Ryan BayneFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Frames - Changing 1 Side

I have a simple split screen frame. I want the left hand side to remain the same at all times. I've placed some buttons on the right hand side but when I click on them they do not load the page I point them to. I've created little intranets before so I know what to type in the URL but I just couldnt get it to work. They would load that page not found screen.

Is there something special you need to do when using frames? Could someone show me an example please. Its a vertical split screen with the left staying the same page at all times.

Thanks very much.
ASKER CERTIFIED SOLUTION
Avatar of RedKelvin
RedKelvin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RedKelvin
RedKelvin

Basically what I was trying to say is that if you always use the target paremeter on all of your links you can control where the page is loaded, and so you can avoid them loading in the left hand frame, so the left frame will always stay the same.
There is nothing special you have to do in frames for a link to find a page. There is an error in your code. If you could post a link to the code, it would help. Otherwise, try the right page without frames until you have it working.  If it works outside of a frame it will work inside of a frame.

RedKelvin is correct about using targets on links (_self works well in this situation); however, that doesn't affect "page not found".
TO put a new page into a frame, just do this --

<A href="newpage.html" target="frame2">load this in frame 2 </A>

The target =  is what you are looking for, perhaps?  Specify the name of the frame for it to go into

<FRAME id="frame2" name="frame2">   -- which is in your frames code.