tricker
07-31-2007, 07:57 AM
Hello All,
In my recent project i need to similarise the height and width of an iframe according to div size using javascript.
bcoz page is dynamic so height and width of the div is not fixed..
code:
<iframe border="0"></iframe>
<div id="abc">
<table width="100%" border="1">
<tr>
<th>one</th>
<th>two</th>
<th>three</th>
<th>four</th>
<th>five</th>
<th>six</th>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
</table>
</div>
any help or pointer for the same is highly appriciable..
Thanks,
Tricker
In my recent project i need to similarise the height and width of an iframe according to div size using javascript.
bcoz page is dynamic so height and width of the div is not fixed..
code:
<iframe border="0"></iframe>
<div id="abc">
<table width="100%" border="1">
<tr>
<th>one</th>
<th>two</th>
<th>three</th>
<th>four</th>
<th>five</th>
<th>six</th>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
</table>
</div>
any help or pointer for the same is highly appriciable..
Thanks,
Tricker