This didn't take in the last commit.

* index.html
Added start page for the various test clients.
This commit is contained in:
rginda%ndcico.com 1999-09-16 01:37:16 +00:00
Родитель bd86aa5065
Коммит 454770fb5a
1 изменённых файлов: 98 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,98 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>IRC Test Clients</title>
<script language="JavaScript">
function loadClient(version)
{
switch (version)
{
case 1:
window.open ("test1.html", "test1");
case 2:
window.open ("test2.html", "test2");
case 3:
window.open ("test3.xul", "test1", "resizable=1", "chrome");
}
}
</script>
</head>
<body bgcolor="white">
<h1>IRC Test Clients</h1>
<p>
Welcome to the Mozilla IRC client tests page. From here you
can select a sample client to try out. It appears that you
<b>
<script language="javascript">
if (Components.classes["component://misc/bs/connection"])
document.write ("do");
else
document.write ("do not");
</script>
</b>
have the shared object properly installed, and you
<b>
<script language="javascript">
if (Components.interfaces.bsIConnection)
document.write ("do");
else
document.write ("do not");
</script>
</b>
have the interface definition properly installed.
<p>
If either of these files are not properly installed, the IRC client
will not be able to create a a socket connection, and will be mostly
useless. The shared object
is called libbs.so on Unix, and bs.dll on Windows (It is not yet
available on Mac), the interface definition is called bs.xpt, and is
the same file on all platforms. Both of these files should be located
in your MOZILLA_FIVE_HOME/components directory. Everything else
related to the IRC client is either JavaScript, XUL, or HTML, and
therefore is platform independant.
<p>
<a href="#" onclick="loadClient(3)">test3.xul</a> is very
close to what I expect
the final client to be. At least, I expect not to throw out too much of
this code. The UI is open for discussion.
<a href="./">irc/tests/</a>test3.css holds the styles
for this one. test3 displays usage info when it starts up, and
/help can be used to display all possible commands.
<p>
<a href="#" onclick="loadClient(2)">test2.html</a> is
(you guessed it) the second
client. The messages in the output window can be styled by tweaking
<a href="./">irc/tests/</a>test2.css. The views window
controls what network or channel
you are currently viewing. There is NO DEFAULT, after joining a channel
you must click on its entry in the views list before you see any output.
The basic commands are:
<pre>
/network linuxnet
/connect
/nick <your-nick>
/join #mozillazine
</pre>
<p>
<a href="#" onclick="loadClient(1)">test1.html</a> is the
first client. It has no
CSS, and all input is displayed in the same window. If you experience
stability problems with the other clients, try this one.
Commands are the same as in test2.html
<p>
Please direct discussions to the netscape.public.mozilla.rt-messaging
newsgroup, or if you feel it necessary, contact me
(<a href="mailto:rginda@ndcico.com">Rob Ginda</a>) direclty.
<hr>
<address><a href="mailto:rginda@ndcico.com"></a></address>
<!-- Created: Wed Sep 15 23:34:25 XXX 1999 -->
<!-- hhmts start -->
Last modified: Thu Sep 16 00:38:04 XXX 1999
<!-- hhmts end -->
</body>
</html>