diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
| commit | d3982ec72b255876db00825605d1d5aae0bc313e (patch) | |
| tree | a653552b7d229f7f27262980da7550d39961a102 /html | |
| parent | 796609174e5ecb35fab992969e7690186840048a (diff) | |
tagging ychat-0.7.7.1ychat-0.7.7.1
Diffstat (limited to 'html')
| -rwxr-xr-x | html/help.html | 2 | ||||
| -rwxr-xr-x | html/input.html | 10 | ||||
| -rwxr-xr-x | html/online.html | 3 | ||||
| -rwxr-xr-x | html/stream.html | 25 | ||||
| -rwxr-xr-x | html/style.css | 22 |
5 files changed, 33 insertions, 29 deletions
diff --git a/html/help.html b/html/help.html index 57ae511..ad9a25f 100755 --- a/html/help.html +++ b/html/help.html @@ -11,7 +11,7 @@ <table align=center width=500> <tr><td> Hello %%nick%%, all chat commands available are summarized below (Please notice that only currently - in memory loaded command modules are listed here which should be the case by yChat default configuration): + in memory loaded command modules are listed here which should be the case by yChat default configuration). You can also access help for a specific command with the /help command. Example: /help commandname: </td></tr> <tr><td> <br> diff --git a/html/input.html b/html/input.html index 3a9b564..31ed9fe 100755 --- a/html/input.html +++ b/html/input.html @@ -26,6 +26,13 @@ var top = (screen.availHeight-height)/2; var win = window.open(site,"_blank","width="+width+",height="+height+",left="+left+",top="+top+",scrollbars=yes"); } + function chgscroll(f) + { + if(f.checked) + parent.stream.autoscroll(); + else + parent.stream.stopscroll(); + } //--> </script> </head> @@ -40,8 +47,11 @@ <a href='#' class="fancy" onclick="javascript:popup('colors.html?event=colors&tmpid=%%tmpid%%', 600, 480)">Colors</a> <a href='#' class="fancy" onclick="javascript:popup('options.html?event=options&tmpid=%%tmpid%%', 600, 480)">Options</a> <a href='#' class="fancy" onclick="javascript:popup('help.html?event=help&tmpid=%%tmpid%%', 600, 480)">Help</a> + <a href='#' class="fancy" onclick="javascript:popup('loggedin.html?event=loggedin&tmpid=%%tmpid%%', 600, 480)">Users</a> <a href='#' class="fancy" onclick="javascript:popup('admin.html?event=admin&tmpid=%%tmpid%%', 600, 480)">Admin</a> <a href='input.html?event=input&tmpid=%%tmpid%%&message=%2Fq' class="fancy" target='blank'>Logout</a> + Scrolling: + <input type="checkbox" name="scroll" checked onClick="chgscroll(this);"> </div> <input type="hidden" name="event" value="input"> <input type="hidden" name="tmpid" value="%%tmpid%%"> diff --git a/html/online.html b/html/online.html index fc1fd84..6a10fd9 100755 --- a/html/online.html +++ b/html/online.html @@ -2,7 +2,6 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<meta http-equiv="refresh" content="20"> <link rel=stylesheet href="style.css" type=text/css> <body> <b>%%ROOMNAME%%</b> @@ -14,7 +13,7 @@ %%ROOMTOPIC%% </td> </tr> - %%USERLIST%% + %%USERLIST%% </table> </body> </html> diff --git a/html/stream.html b/html/stream.html index db4c05c..ed08a23 100755 --- a/html/stream.html +++ b/html/stream.html @@ -8,32 +8,31 @@ <link rel=stylesheet href="style.css" type=text/css> <script language="JavaScript"> var scrolling; - var isOn; - function autoScroll() + var ison; + function autoscroll() { - if(!isOn) - { + if(!ison){ scrolling = window.setInterval("window.scroll(1,1606682)",70); - isOn = true; + ison = true; } } - - function stopScroll() + function stopscroll() { - if(isOn) + if(ison) { - window.clearInterval(scrolling); - isOn=false; + window.clearInterval(scrolling); + ison = false; } } </script> </head> <body class="stream"> -<script> -autoScroll(); +<h1>Engine: %%ychat.version%%</h2> +<script language="JavaScript"> + autoscroll(); </script> - Welcome to yChat %%nick%%! + Welcome to the chat, %%nick%%! <br> <br> diff --git a/html/style.css b/html/style.css index ade4a1a..4b6d9ca 100755 --- a/html/style.css +++ b/html/style.css @@ -9,37 +9,33 @@ input { color: #000000; font-family: Verdana, Helvetica, sans-serif; text-decoration: none; - color: #FFFFEF; - background-color: #000000; - border: solid #555555 1px; font-size: 9pt; padding: 2px; } input.text { - background-color: #AA5100; + background-color: #FFFFEF; } .fancy { font-family: Verdana, Helvetica, sans-serif; - text-decoration: none; - color: #FFFFEF; - background-color: #000000; - border: solid #555555 1px; font-size: 9pt; + color: #FFFFEF; padding: 2px; } a:hover.fancy { text-decoration: none; color: #FFFFEF; - background-color: #323232; - border: solid #FFFFEF 1px; + background-color: #000000; } -b { - background-color: #323232; - border: solid #555555 1px; +h1 { + background-color: #ffa500; + border: solid #000000 1px; + font-size: 20pt; + padding: 13px; + font-width: bold; } body.stream { |
