Jump to content

Link problem


Recommended Posts

I have a frame B. In that frame are my buttons. If I press on those buttons I want them to open in frame C. How do I do that? At the moment I have this but it doesnt work:frame_b.htm

<title>Frame B</title></head><body bgcolor="#C0C0C0"> <p><a href="frame_c.htm" target="home.htm"><img src="http://i10.tinypic.com/2u5cllz.jpg" border="0"></a></p>
I have nothing typed in home.htm (exept for some text that should appear) and I have also nothing typed in frame_c.htm.What do I do wrong here?Btw, I want home.htm to open in frame_c
Link to comment
Share on other sites

You shouldn't have to add anything extra to the pages. What does your frameset page look like?Could you copy and paste that pages html please :)

Its still not working, I tried that before. Now I have:I thought I maybe had to type something in the other files(home.htm, frame_c.htm) Do I have to change something there?
You don't need .htm on the target. You just need the name of the frame from your frameset page.
Link to comment
Share on other sites

Ok, on your frameset page do this:

<html><frameset rows="25%,75%" border="1"><frame src="frame_a.htm"><frameset cols="15%,85%" border="1"><frame src="frame_b.htm" name="links"><frame src="frame_c.htm" name="content"></frameset></frameset><head><title>Hoofdpagina</title></head><body></body></html>

Then on page B, the link should be:

<p><a href="home.htm" target="content"><img src="http://i10.tinypic.com/2u5cllz.jpg" border="0" /></a></p>

That will change the web page in the content frame from "frame_c.htm" to "home.htm"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...