_buttons
<html>
<head>
<script type="text/javascript">
        var dom_params = /^(.*)\.wdfiles\.com$/;
        var domain = dom_params.exec(window.location.host)[1];
function open_win()
{
window.open("http://" + domain + ".wikidot.com/chat:_chatroom ","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=250, height=750");
}
</script>
</head>
 
<body>
<form>
<input type="button" value="Open chat" onclick="open_win()">
</form>
</body>
 
</html>
<html>
<head>
<script type="text/javascript">
        var dom_params = /^(.*)\.wdfiles\.com$/;
        var domain = dom_params.exec(window.location.host)[1];
function open_win()
{
window.open("http://" + domain + ".wikidot.com/chatroom:start ","_blank","toolbar=yes, location=yes, directories=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=yes, width=800, height=600");
}
</script>
</head>
 
<body>
<form>
<input type="button" value="About" onclick="open_win()">
</form>
</body>
 
</html>
<html>
<head>
<script type="text/javascript">
        var dom_params = /^(.*)\.wdfiles\.com$/;
        var domain = dom_params.exec(window.location.host)[1];
function open_win()
{
window.open("http://" + domain + ".wikidot.com/chat-archive ","_blank","toolbar=yes, location=yes, directories=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=yes, width=500, height=750");
}
</script>
</head>
 
<body>
<form>
<input type="button" value="Archive" onclick="open_win()">
</form>
</body>
 
</html>
Site Design, Syntax and Examples by Rob Elliott 2008-2016