|
|
(7 intermediate revisions not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
- | <script>
| + | <script src="http://static.chatx.net/onlinestatus.php?img=js&nickname=blahx" |
- | var formtext = '<script src="http://www.chatx.net/includes/js/cgiirc.js"></scr'+
| + | type="text/javascript"></script> |
- | 'ipt>\n<form name="cgiirclogin" method="post" onsubmit="return openCgiIrc(this)"'+
| + | |
- | ' action="http://cgiirc.chatx.net/cgi-bin/irc.cgi">\n'+
| + | |
- | '<label>Nickname: </label><input type="text" name="Nickname" value="" />\n'+
| + | |
- | '<input type="submit" value=" Chat! " />\n'+
| + | |
- | '</form>\n';
| + | |
- | function makeform(form) {
| + | |
- | form.textarea.style.display = "inline"
| + | |
- | form.textarea.focus()
| + | |
- | formtext = formtext.replace(/#channel/,form.channel.value).replace(/CGI\?\?\?/,form.nick.value)
| + | |
- | form.textarea.value = formtext
| + | |
- | return false
| + | |
- | }
| + | |
- | </script> | + | |
- | | + | |
- | <form onsubmit="return makeform(this)">
| + | |
- | | + | |
- | <b>Enter your nickname:<br></font></b>
| + | |
- | <input type="text" name="Nickname" value=""><br />
| + | |
- | <br>
| + | |
- | | + | |
- | | + | |
- | <input type="submit" value=" Generate HTML ">
| + | |
- | | + | |
- | <textarea name="textarea" cols="60" rows="20" style="display:none"></textarea></form>
| + | |
| </html> | | </html> |