I have created a simple template here:
http://jsfiddle.net/sfntz/
How is it possible to make the links open pages within the iframe without reloading the main page? I would presume that such thing is possible with javascript ajax (something that I have no coding experience with as of yet).
The code I have currently is:
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<style>
#left-container {
width: 150px;
float: left;
}
#right-container {
width: 450px;
float: left;
}
</style>
</head>
<body>
<div id="left-container">
<a href="">Link to iFrame 1</a><br/>
<a href="">Link to iFrame 2</a><br/>
<a href="">Link to iFrame 3</a><br/>
<a href="">Link to iFrame 4</a><br/>
<a href="">Link to iFrame 5</a><br/>
</div>
<div id="right-container">
<iframe src="http://www.yahoo.com" style="border:0px #FFFFFF none;" name="myiframe" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="350px" width="350px">
</iframe>
</div>
</body>
</html>
It is far more simple than you think:
Just name the iframe and set the target attribute on the link:
With using jQuery, you could try: