I installed phpMyChat..the latest version.
Modified the portion that goes into the header to look like:
PHP Code:
function my_chatwin()
{
var tmpName = replace('$bbuserinfo[username]',' ','_');
tmpName = replace(tmpName,',','');
window.open('/chat/index.php3?L=english&Ver=H&U='+tmpName+'&R=Home&T=1&D=10&N=20&ST=1&NT=1&First=1','mychatwindow','width=700,height=600,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
}
function replace(string,text,by) {
var strLength = string.length, txtLength = text.length;
if ((strLength == 0) || (txtLength == 0)) return string;
var i = string.indexOf(text);
if ((!i) && (text != string.substring(0,txtLength))) return string;
if (i == -1) return string;
var newstr = string.substring(0,i) + by;
if (i+txtLength < strLength)
newstr += replace(string.substring(i+txtLength,strLength),text,by);
return newstr;
}
//-->
</SCRIPT>
works great...
resolves the space issue...
just need to modify the exit button to close the window instead of going to chat index.