Jump to content



  • Please log in to reply
No replies to this topic

#1 matt54311

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 09 September 2006 - 04:32 AM

Hi, im trying to integrate pJIRC java applet into my website. but i want the users to be able to login using a form so they can type their desired nick before connecting.

Im not good with PHP or java.
this is the form code: (chat.html)
<form method="post" onsubmit="return openchat(this)" action="">
            <td class="label">Nickname:</td>
            <td><input id="nick" type="text" name="nick" size="12" value="Guest???" /></td>
            <td class="label">Applet Style:</td>

              <select id="applettype" size="1" name="style">
                <option value="chat/SimpleApplet.php">Simple</option>
                <option value="chat/NormalApplet.php" selected="selected">Normal</option>
                <option value="chat/HeavyApplet.php">Heavy</option>
                <option value="chat/AppletWithJS.php">JS Support</option>

        <p><input id="submit" type="submit" value="Chat!" name="B1" /></p>

And this is the pJIRC applet page: (chat/SimpleApplet.php)

<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="13">
	<td colspan="2" rowspan="2">

		<applet code="IRCApplet.class" archive="irc.jar,pixx.jar" width="100%" height="100%">
		<param name="CABINETS" value="">
		<param name="nick" value="$nick">
		<param name="alternatenick" value="Guest???">
		<param name="name" value="www.808ers.com">
		<param name="host" value="mesra.kl.my.dal.net">
		<param name="gui" value="pixx">
		<param name="command1" value="join #GoHawaii">

		<param name="pixx:helppage" value="http://www.pjirc.com/help.php">


	<td width="9">
		<img width="9" height="100%" border="0" src="shadows/shadow.ne.gif">
	<td width="9">
		<img width="9" height="100%" border="0" src="shadows/shadow.e.gif">

<tr height="9">	
	<td width="13"><img width="13" height="9" border="0" src="shadows/shadow.sw.gif"></td>
	<td><img width="100%" height="9" border="0" src="shadows/shadow.s.gif"></td>
	<td><img width="9" height="9" border="0" src="shadows/shadow.se.gif"></td>
I'd appreciate any help at all

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users