Moderators: macek, egami, gesf

swirlee wrote:Well, you don't. Frames are designed for what you have in mind, tables are not. You can change the src of a frame, you cannot change the src of a table cell.
<frame src="main.php" name="main">
<frame src="left.php" name="left" target="main" scrolling="NO" noresize>

ruturajv wrote:using div tags.., iframe
<table width="972" height="597" border="0" cellpadding="0" cellspacing="0" >
<tr align="left" valign="top" width="972" height="397" >
<td width="135" height="397" align="left" valign="top" >
<div width="1" height="1" align="left" valign="top" class="bg1"> <img src="IMG/dot.gif"></div>
<div width="135" height="80" align="left" valign="top"><?php require('left_image.php3'); ?></div>
<?php require('left_frame.php3'); ?>
</td>
<td width="700" height="400" valign="top" align="left">
<?php
require('center_frame.php3') ; ?>
</td>
<td width="124" height="300"><?php require('right_frame.php3'); ?></td>
</tr>
</table>

<script type="text/javascript">
function changelink() {
d = document.getElementById("idnameofiframe");
d.src = page.htm
}
</script>
<a href="javascript changelink('page.htm')">Page</a>
<iframe src="somepage.htm" id="idnameofiframe" width... height...></iframe>

Users browsing this forum: No registered users and 1 guest