View Full Version : targeting with images


postie
12-18-2005, 11:23 PM
I was wondering how to target an iframe not with a text link but with an image link. I thought if you added the TARGET="" part into the image link it would work, but it doesn't. Also how to link to pages and make them not link in the iframe but pop up, like a new page. Any help would be much appreciated, thanks.

starlet
12-18-2005, 11:42 PM
You are right that you just add the target as you would a text link, eg:

<a href="http://www.site.com" target="frame"><img src="image.gif"></a>

For a new window then change the target to _blank

postie
12-19-2005, 01:54 AM
Thank you very much, it works now!

starlet
12-19-2005, 04:04 AM
No problems