|
|
|
|
![]() ![]() |
Apr 30 2005, 06:39 AM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 362 Joined: 2-March 05 From: The Netherlands Member No.: 4,097 |
CODE <form target="entropychat" action="http://online.trap17.com:2084/"> Nick Name: <input type="text" name="nick" value=""> <input type="hidden" name="channel" value="online.trap17.com"> <input type="submit" value="Enter Chat"> </form> Thats the normal cgi chat code and I have a few questions concerning it: -Is it possible to change background and other colors? -Is it possible to (when click submit) to open it in the same window...completely resized to serve as a gamechat? -When I first logged in everything was fine, I modified the above code to get the players name and "force" it to use it in the chat, is it possible to end the session of a username? if so i would like to put a logout button in the chat too. Thanks in advance, easy and fast chat rocks ^^ (now just modify it o.O) |
|
|
|
Apr 30 2005, 09:08 AM
Post
#2
|
|
|
Trap Grand Marshal Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,203 Joined: 25-March 05 Member No.: 4,883 |
-Is it possible to change background and other colors? .. YES since it's just a form..
-Is it possible to (when click submit) to open it in the same window...completely resized to serve as a gamechat? .. YES by using Javascript.. -When I first logged in everything was fine, I modified the above code to get the players name and "force" it to use it in the chat, is it possible to end the session of a username? if so i would like to put a logout button in the chat too. ... Huh..? I don't understand.. Background color : (By adding style="background-color:yellow;") <form target="entropychat" action="http://online.trap17.com:2084/" style="background-color:yellow;"> Nick Name: <input type="text" name="nick" value="" size="20"> <input type="hidden" name="channel" value="online.trap17.com"> <input type="submit" value="Enter Chat"> </form> Open in Same Window : (By changing your target to "_self") <form target="_self" action="http://online.trap17.com:2084/" style="background-color:yellow;"> Nick Name: <input type="text" name="nick" value="" size="20"> <input type="hidden" name="channel" value="online.trap17.com"> <input type="submit" value="Enter Chat"> </form> Resize window: http://www.javascripter.net/faq/resizing.htm http://www.codeave.com/javascript/code.asp?u_log=7065 As for your 3rd question, I believe it's the part http://online.trap17.com:2084/ that controls the nickname. That script in http://online.trap17.com:2084/ should be configured to accept the nickname and carry the nickname into the script for use.. Hope all these helps... |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 11th October 2008 - 09:05 PM |