iframe
Links all opening in the same iframe
Code
[[html]]
<h3>These are the links:</h3>
<a href="http://www.strathviewconsultants.co.uk/wikis" target="svciframe">Wikis</a>
<a href="http://www.wikidot.com" target="svciframe">Wikidot</a>
<a href="http://blog.wikidot.com" target="svciframe">Wikidot Blog</a>
<br>
<br>
<br>
<h3>This is the iframe</h3>
<iframe name="svciframe" id="svciframe" src="" width='600px' height='300px'>
<p>This is the iframe</p>
</iframe>
<script type='text/javascript'>
for (var x = 0; x < document.getElementsByTagName("a").length; x++)
{
document.getElementsByTagName('a')[x].target="svciframe";
}
</script>
[[/html]]
page_revision: 21, last_edited: 1275550750|%e %b %Y, %H:%M %Z (%O ago)