![]() |
Open vBChat in a smaller window
Some users have asked on how to open the vBChat window, smaller than full-screen. Here is an answer to this issue:
Go into your navbar template, or wherever you are calling vBChat from, and find the script that opens up the window. Replace that script with this one: HTML Code:
<script type="text/javascript"> Rgds |
Now if we could just make vbChat make better use of the window size it has assigned to it we'd really be talking. It seems to be limited to a fixed number of characters per line which seems to be hard coded somewhere.
|
Quote:
The characters per line, I can't remember if it hard encoded, but the vertical size of the main messages window is. This can be found in the chat_main template, if you look in there, you will find something like: HTML Code:
<td class='alt2' align='center' width='85%' height='300'> As for the characters per line, I think you could do something in the declaration of the tables, mine certainly seem to resize OK horizontally. Check out the table tags in the chat main, if memory servers me right, that's the place to look for. Sorry I can't be more helpful :-( |
John,
I notice that making the depth a larger number makes the Room window larger but the scroll bar doesn't adjust accordingly. Is that a Mac/Firefox thing? -Layne |
I am not sure, I haven't tried lately to mess with the code at that point, I can't be very sure.
Also, as I said before, I do not know how to pass the width/height parameters from the JS to the HTML part, so I can't test if my theory to alter that 300 pixels number will work. My idea was that, based on the user's screen height, you could come up with a percentage to be used in place of that 300 pixels value. We'll have to wait for the author to come up with a solution, I guess. |
All times are GMT. The time now is 06:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|