I need to create a link that opens a page yet sets a new target within an iframe on that page is this possible?
So for example.
'Link1' has to link to 'index.html' this page already has an iframe on it, yet I need 'hamsters.html' to load within the iframe when 'index.html' loads.
There will also be a
'Link2' and 'Link3' these will also link to 'index.html' however 'link2' will load the page 'rabbits.html'in the iframe, and 'link3' will load the page 'gerbils.html' within the iframe. The iframe still being located in 'index.html'.
I hope this is clear, my original links code, 'link1' in the example is located below.
Thanks
<td onclick="window.location = 'index.html';" style='cursor: hand; cursor: pointer;' background="images/static.gif" id="td1" width="25%" bgcolor="#FFFFFF">