html_amnesiac
04-11-2006, 12:50 PM
I have a 3rd party guestbook and have been supplied with some html code to access the content, for viewing and posting.
I want to integrate this into my site as seamlessly as possible.
When the guestbook is opened, via the html code supplied, it opens as a new page, losing my page titles, navigation, etc.
To overcome this I have tried to use iframes, the problem is that when the 3rd party page opens, in the frame, it displays the content briefly and is then blanked out.
The code I am using is
<tr>
<td width="1%"> </td>
<td class="imge" width="6%" align="center"> </td>
<td class="button" width="13%">
<a href="sample.htm"></a></td>
<td width="1%"> </td>
<td width="78%" rowspan="6">
<iframe name="#guestframe" height="100%" width="100%" frameborder="0" src="http://www.a-free-guestbook.com/guestbook.php?username=test"></iframe></td>
<td width="1%"> </td>
</tr>
<tr>
<td width="1%"> </td>
<td class="imge"> </td>
<td class="button"> </td>
</tr>
I have found that if I make the iframe height and width expilicit values, rather than percentages, then the iframe content is displayed correctly. However when I do this I then lose the iframe scrollbars so that you cannot see all the content.
Is there anybody out there who can see if I am doing something wrong or can tell me how to get this to perform correctly
Thanks
I want to integrate this into my site as seamlessly as possible.
When the guestbook is opened, via the html code supplied, it opens as a new page, losing my page titles, navigation, etc.
To overcome this I have tried to use iframes, the problem is that when the 3rd party page opens, in the frame, it displays the content briefly and is then blanked out.
The code I am using is
<tr>
<td width="1%"> </td>
<td class="imge" width="6%" align="center"> </td>
<td class="button" width="13%">
<a href="sample.htm"></a></td>
<td width="1%"> </td>
<td width="78%" rowspan="6">
<iframe name="#guestframe" height="100%" width="100%" frameborder="0" src="http://www.a-free-guestbook.com/guestbook.php?username=test"></iframe></td>
<td width="1%"> </td>
</tr>
<tr>
<td width="1%"> </td>
<td class="imge"> </td>
<td class="button"> </td>
</tr>
I have found that if I make the iframe height and width expilicit values, rather than percentages, then the iframe content is displayed correctly. However when I do this I then lose the iframe scrollbars so that you cannot see all the content.
Is there anybody out there who can see if I am doing something wrong or can tell me how to get this to perform correctly
Thanks