That is great, works like a charm (if integrated in for example the header). I use conquerchat as well, great program. Maybe you can help me with the next two questions:
I want to have this link in the navigation bar through a button (like the chat mod by Sith). He used the following line in line 87:
Response.Write (" <a href=""javascript:openWin('" & strForumPath & "/messenger.html?FID=" & intForumID & "','profil','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=450,height=290')""><img src=""" & strImagePath & "small_admin_icon.gif"" align=""absmiddle"" border=""0"" alt=""" & "[Chat]" & """>" & "Chat" & "</a>")
If I understand it correctly, it shows the chat button when logged in and open it in a new window when clicked on. This way the link to the chat is only displayed when logged in. I also do like the fact that the chatbox starts in a window of my size and choice, but how do I integrate your line of code in there? My default chat page is ../conquerchat/default.asp.
I got as far as:
Response.Write (" <a href=""javascript:openWin('../conquerchat/default.asp')""><img src=""" & strImagePath & "small_admin_icon.gif"" align=""absmiddle"" border=""0"" alt=""" & "[Chat]" & """>" & "Chat" & "</a>")
And that opens a chat window indeed, but without all the nice features like automatic login, not displaying borders etc.
Is that possible? I am a bit a newbie to ASP so your help is very much appreciated.
tia!
Theo Tekstra
Edited by Hitek