[cgiirc-general] Opening Notification Windows
Brought to you by:
dgl
|
From: Michael B. <Mic...@ma...> - 2003-10-08 16:58:26
|
last question for a while, promise ;-)
In the previous version of CGI:IRC that I was using the formats file had
a hash for different events (in this case Join). I modified it to look
like this:
'join' => sub {
my($remotenick,$remotehost,$channels,$channel) = @_;
prefixecho('enter');
print "<script>WindowOpen1()</script>\r\n";
html(ccode(10)."$remotenick has joined $channel");
},
the javascript function "WindowOpen1() was below in the header that was
printed from the same file.
Basically, all this did was create a popup window when someone entered
the chat room. Unfortunately, not all the computers using the service
will have sound cards so I need a visual queue for people that will not
be wathcing the cgi:irc window.
The new format files look nothing like this ... so I am wondering where
I can stick these so that we have the same basic affect.
Thanks.
--
Michael Bond
Professional Technologist
WVU Libraries
304-293-4040 ext: 4049
Mic...@ma...
|