Hi,
I very rarely use iframes but I did have this bit of code lying around that someone gave me
Try it out it might be what you want.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style>
iframe {border:1px solid #fff;padding:0;margin:0;overflow:auto}
</style>
</head>
<body>
<script type='text/javascript'>
function changePage(url) {
document.getElementById('iframe').src = url;
}
</script>
<iframe id='iframe' borders="none" src="iframesrc.htm"></iframe>
<a href='#' onclick="changePage('test1.htm')">Test 1</a>
<a href='#' onclick="changePage('test2.htm')">Test 2</a>
</body>
</html>
Paul
Edit:
You'll probably need to tidy the js up for browsers that don't understand element by id etc.
Bookmarks