Woodman
11-25-2002, 09:31 AM
Here's my problem:
I have a piece of HTML code directing users to a Java chatroom. Problem is, i need to manually change the name through notepad. What id like to do is to let users enter their name in a text field, & the name would be incorperated into the HTML code. How would i go about doing this? Javascript? HTML? I prefer using Javascript, or just plain HTML, & not CGI, ASP or anything that runs on the server. Here's the code:
<html>
<head><title>Title Tra La La</title></head>
<body bgcolor="#000000" text="#000000" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<APPLET codebase="XXXXXXXX" code="Jirc.class" alt="jirc requires that you have Java enabled. Please enable Java in your browser" width=100% height=99%>
<PARAM name=archive value="jirc.jar">
<PARAM name=nick value="Superman">
<PARAM name=real value="Station Lunatic">
<PARAM name=chan value="#chachacha">
<PARAM name=urlc value="8000ff">
<PARAM name=modc value="0080ff">
<PARAM name=motd value="Welcome to Cha Cha Cha. Type /me for a good time">
</APPLET>
</body>
</html>
The bit id like to let users change through a text field is this line:
<PARAM name=nick value="Superman">
Thanks in advance :)
I have a piece of HTML code directing users to a Java chatroom. Problem is, i need to manually change the name through notepad. What id like to do is to let users enter their name in a text field, & the name would be incorperated into the HTML code. How would i go about doing this? Javascript? HTML? I prefer using Javascript, or just plain HTML, & not CGI, ASP or anything that runs on the server. Here's the code:
<html>
<head><title>Title Tra La La</title></head>
<body bgcolor="#000000" text="#000000" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<APPLET codebase="XXXXXXXX" code="Jirc.class" alt="jirc requires that you have Java enabled. Please enable Java in your browser" width=100% height=99%>
<PARAM name=archive value="jirc.jar">
<PARAM name=nick value="Superman">
<PARAM name=real value="Station Lunatic">
<PARAM name=chan value="#chachacha">
<PARAM name=urlc value="8000ff">
<PARAM name=modc value="0080ff">
<PARAM name=motd value="Welcome to Cha Cha Cha. Type /me for a good time">
</APPLET>
</body>
</html>
The bit id like to let users change through a text field is this line:
<PARAM name=nick value="Superman">
Thanks in advance :)