I have links on the side of my page such as "home", "news", "contacts", ... and an iframe in the middle of the page, I would like the iframe to go to diffrent urls according to the link selected. Could I do this by only using html and/or how?
+4
A:
Give the iframe a name attribute, like this:
<iframe name='content' ...>
and then give each link a corresponding target attribute, like this:
<a href='news.html' target='content' ...>
RichieHindle
2009-06-27 17:57:18
++; Beat me by 25 seconds ;)
Jonathan Sampson
2009-06-27 17:59:40
@Jonathan: Ah, all those years at secretarial college are paying off!
RichieHindle
2009-06-27 18:08:59