diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
| commit | d3a0d11f93c1ebe38b4301c9bef952bfd24d01a1 (patch) | |
| tree | fdcac37e722884d4a71e9dd96443ed76a3533103 /html/stream.html | |
| parent | ed634bc556af8997b9d2d5bf7334073731936365 (diff) | |
tagging ychat-0.8.1ychat-0.8.1
Diffstat (limited to 'html/stream.html')
| -rwxr-xr-x | html/stream.html | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/html/stream.html b/html/stream.html index 66f8bbd..4814979 100755 --- a/html/stream.html +++ b/html/stream.html @@ -1,29 +1,38 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> - <head> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title> - %%PGETITLE%% + %%HTML_TITLE_TAG_CONTENT%% </title> +<link rel=stylesheet href="style.css" type=text/css> <script language="JavaScript"> - function autoScroll() + var scrolling; + var ison; + function autoscroll() { - window.scroll(1, 50000 ); - timer = setTimeout('autoScroll()',200); + if(!ison){ + scrolling = window.setInterval("window.scroll(1,1606682)",70); + ison = true; + } } - - autoScroll(); - - function stopScroll() + function stopscroll() { - clearTimeout(timer); - } - - function startScroll() - { - timer = setTimeout('autoScroll()', 200); + if(ison) + { + window.clearInterval(scrolling); + ison = false; + } } </script> </head> -<body> - Welcome to yChat %%nick%%! +<body class="stream"> +<h1>Engine: %%ychat.version%%</h1> +<script language="JavaScript"> + autoscroll(); +</script> + + Welcome to the chat, %%nick%%! <br> <br> + |
