summaryrefslogtreecommitdiff
path: root/html/stream.html
diff options
context:
space:
mode:
authoradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-07-01 20:17:26 +0200
committeradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-07-01 20:17:26 +0200
commit0b4ccf59b27f0a8de71b10120b50c916fdbc46a0 (patch)
tree4252a66e1438004c08c1ac96338a0352a2408d58 /html/stream.html
parenta7aa66722070de6ab2e84e5a1311b96c98f36e14 (diff)
parentc67ed39bc994a0aef06454c1e3044e79f712b739 (diff)
Merge remote-tracking branch 'remotes/github/ychat-0.7' into ychat-0.7ychat-0.7
Diffstat (limited to 'html/stream.html')
-rw-r--r--html/stream.html42
1 files changed, 25 insertions, 17 deletions
diff --git a/html/stream.html b/html/stream.html
index 6678069..ed08a23 100644
--- a/html/stream.html
+++ b/html/stream.html
@@ -1,30 +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 bgcolor=#000000 text=#ffffff>
- Welcome to yChat %%nick%%!
+<body class="stream">
+<h1>Engine: %%ychat.version%%</h2>
+<script language="JavaScript">
+ autoscroll();
+</script>
+
+ Welcome to the chat, %%nick%%!
<br>
<br>
+