Jump to content
xisto Community
Sign in to follow this  
HmmZ

Normal Cgi Chat some questions

Recommended Posts

<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)

Share this post


Link to post
Share on other sites

-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://forums.xisto.com/no_longer_exists/; 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://forums.xisto.com/no_longer_exists/; 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://forums.xisto.com/no_longer_exists/ that controls the nickname.
That script in http://forums.xisto.com/no_longer_exists/ should be configured to accept the nickname and carry the nickname into the script for use..


Hope all these helps...

-_-

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.