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