Support chat channel
From WikiPathways
(Difference between revisions)
(revert to IRC) |
|||
Line 1: | Line 1: | ||
- | + | <html> | |
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var url = "http://webchat.freenode.net/?channels=wikipathways"; | ||
+ | /* | ||
+ | var name = wgUserName; | ||
+ | if(name) { | ||
+ | url += '&nick=' + name; | ||
+ | } else { | ||
+ | url += '&nick=yourname'; | ||
+ | url += '&prompt=1'; | ||
+ | } | ||
+ | */ | ||
+ | document.write('<iframe width="100%" height="500" src="' + url + '"></iframe>'); | ||
+ | |||
+ | </script> | ||
+ | </html> |
Revision as of 21:10, 1 February 2016
<html>
<script type="text/javascript">
var url = "http://webchat.freenode.net/?channels=wikipathways"; /* var name = wgUserName; if(name) {
url += '&nick=' + name;
} else {
url += '&nick=yourname'; url += '&prompt=1';
}
- /
document.write('<iframe width="100%" height="500" src="' + url + '"></iframe>');
</script> </html>