Are you looking for something like the following:
Please make sure that files 2.htm and 3.htm resides on the same folder where your mainfile.htm resides
mainfile.htm
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>Main File</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<table cellpadding="0" cellspacing="0" border="1" width="300">
<tr>
<td width="150"><iframe id="one" src="2.htm" frameborder="0" style="visibility:hidden;"></iframe></td>
<td width="150" ><iframe id="two" src="3.htm" frameborder="0" style="visibility:hidden;"></iframe></td>
</tr>
<tr>
<td width="150" onmouseover="document.getElementById('one').style.visibility='visible';" onmouseout="document.getElementById('one').style.visibility='hidden';"> </td>
<td width="150" onmouseover="document.getElementById('two').style.visibility='visible';" onmouseout="document.getElementById('two').style.visibility='hidden';"> </td>
</tr>
</table>
</body>
</html>
2.htm
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" />
</head>
<body>
This is a testing by CodeExploiter
</body>
</html>
3.htm
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" />
</head>
<body>
JavaScript is cool.
</body>
</html>
As this is just a demo I haven't inserted any meaningful information inside the above furnished pages.
Bookmarks