Support chat channel
From WikiPathways
(Difference between revisions)
m (Help:Chat moved to Support chat channel) |
|||
Line 4: | Line 4: | ||
var url = "http://webchat.freenode.net/?channels=wikipathways"; | var url = "http://webchat.freenode.net/?channels=wikipathways"; | ||
+ | /* | ||
var name = wgUserName; | var name = wgUserName; | ||
if(name) { | if(name) { | ||
Line 11: | Line 12: | ||
url += '&prompt=1'; | url += '&prompt=1'; | ||
} | } | ||
- | + | */ | |
document.write('<iframe width="100%" height="500" src="' + url + '"></iframe>'); | document.write('<iframe width="100%" height="500" src="' + url + '"></iframe>'); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 09:55, 12 February 2010
<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>