Linking a image in a frame

They have: 9 posts

Joined: Dec 1999

Hi,
I'm having trouble linking from an image in the left frame to the right frame. Could someone please help me.

They have: 5,633 posts

Joined: Jan 1970

In the page with your <frameset> tags in give each frame a name like this:

Code Sample:

&lt;frameset cols="25%,75%"&gt;
&lt;frame src="page1.html" name="leftFrame"&gt;
&lt;frame src="page2.html" name="rightFrame"&gt;
&lt;/frameset&gt;

Then in your left page, page1.html, you will need something like this:

Code Sample:&lt;a href="page.html" target="rightFrame"&gt;&lt;img src="imageName.jpg"&gt;&lt;/a&gt;

They have: 9 posts

Joined: Dec 1999

Thanks Tomworld that helped alot,

Cheers

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.