I would like to have a bigger (Height) Box in order to show via iframe the flash chat there.
If I using a phpbox then I see only a small part of the chat windows.
Try putting the frame in a table:
<table border="1">
<td valign="top/left/center/right" width="120" height"500">
<iframe>
Content
</iframe>
</td>
</table>
Play with it a bit till you get what you need. Change the border to "0" when you are happy with it to turn the table border off.
You may need to include a row < tr> </ tr > no spaces.
Many thanks
It works like a charm ....
*Grumbles something about Zetan beating the Geek again*
lol... sorry, didn't realise there was a contest ??? ;) :P
<iframe name="frame1" style="background-color="#222222" width="100" height="80" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
I don't know if your frame has sizes already inline, and I can't remember if the frame alone would increase the block height. You could try experimenting.
<body>
<table border="0">
<tr></ tr>
<td valign="top/left/center/right" width="700" height="300">
<iframe frameborder="0" height="100%" src="http://www.my_domain.com/chat/flashchat.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="yes" border="0"></iframe>'
</td>
</table>
</body>
Thats the way I did it and it even works. Well, kind of works 'cause after the coding I realize that it was a silly idea. Doing it this way you end up by every refresh (e.g. user clicks on a link inside the forum) do get log-out of the chat and after die refresh you get log-in again.
Thats 'cause the whole HMTL site gets refreshed - and as far as I know there is no way out but open a new child window for the chat.
Thanks again for your help guys
Okay.. I should have made this part clearer:
<td valign="top/left/center/right" width="700" height="300">
Select a position, I didn't make that part clear. Either, Top, left, center, or right. Not all of them.
I did Zetan ;)
But like I said doesn't prevent the refresh behavior.
I'm not sure which chat you are using.. but it works for me inside an Article.
A new window is opened. You are welcome to take a look.. you will automatically join, Requires Java.
http://labradio.co.uk/index.php?page=3