Conversation Window Mini
<html>
<head>
    <title>Chatroom Conversation Mini</title>
    <!-- © James Kanjo 2011 -->
    <script type="text/javascript">
        var str_raw = unescape(window.location.hash).substring(1);
        var str_domain = /^([^#]+)#/.exec(str_raw)[1];
 
        function refreshConvo(){
            document.getElementById("newest").src = 'http://' + str_domain + '/chat:_newest';
            setTimeout('refreshConvo()', 15000);
        }
    </script>
</head>
<body onload="setTimeout('refreshConvo()', 15000)" style="margin: 0;">
    <script type="text/javascript">
        var str_raw = unescape(window.location.hash).substring(1);
        var str_domain = /^([^#]+)#/.exec(str_raw)[1];
        document.write('<audio autoplay="autoplay">\n<source src="http://chat.wikidot.com/local--files/alert/alert_2011.mp3" type="audio/mpeg" />\n<source src="http://chat.wikidot.com/local--files/alert/alert_2011.wav" type="audio/wav" />\n<iframe src="http://snippets.wdfiles.com/local--code/code:mp3#http://chat.wikidot.com/local--files/alert/alert_2011.mp3#autoplay" align="" frameborder="0" height="" scrolling="no" width="" class="" style="width: 9px; height: 9px;"></iframe>\n</audio>')
        document.write('<iframe src="http://' + str_domain + '/chatarchive/category/chat/order/created_at%20desc/limit/50/offset/10?theme_url=http://chat.wdfiles.com/local--code/css:3" frameborder="0" scrolling="auto" style="width: 100%; height: 100%; min-width: 200px; margin: 0 auto;"></iframe>');
        document.write('<iframe id="newest" src="http://' + str_domain + '/chat:_newest" style="display: none;"></iframe>');
    </script>
</body>
</html>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License