summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2010-04-23 00:06:53 -0700
committerArun Persaud <arun@nubati.net>2010-04-23 00:31:04 -0700
commit85f97815af1237463bc50b766f06b66b0c5ac8c1 (patch)
tree0bf8ec16ad3ae52aad9e2c3a0297dfb47190fcd9 /include/output.php
parent14d90c7cf2c71897cf5e27b9de7db1fc81572fb3 (diff)
downloade-DoKo-85f97815af1237463bc50b766f06b66b0c5ac8c1.tar.gz
e-DoKo-85f97815af1237463bc50b766f06b66b0c5ac8c1.tar.bz2
e-DoKo-85f97815af1237463bc50b766f06b66b0c5ac8c1.zip
new user home page with a bit of jquery thrown in
by default only show the active games/sessions and hide all the other games
Diffstat (limited to 'include/output.php')
-rw-r--r--include/output.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/output.php b/include/output.php
index 03e6ced..a4b84a0 100644
--- a/include/output.php
+++ b/include/output.php
@@ -376,7 +376,7 @@ function output_header()
<title>e-Doko</title>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" />
- <link rel="stylesheet" type="text/css" href="css/standard024.css" />
+ <link rel="stylesheet" type="text/css" href="css/standard025.css" />
<script type="text/javascript" src="include/game.js"> </script>
<script type="text/javascript" src="include/jquery.js"> </script>
<script type="text/javascript" src="include/jquery.tablesorter.js"></script>
@@ -384,6 +384,19 @@ function output_header()
$(document).ready(function()
{
$("#ScoreTable").tablesorter({ widgets: ['zebra']});
+
+ $(".gameshidesession").click( function () {
+ $(this).parent().children(".gamessession").toggle(300);
+ });
+
+ $(".gameshowall").click( function () {
+ $(".gamessession").show(300);
+ });
+ $(".gamehideall").click( function () {
+ $(".gamessession").hide(300);
+ });
+
+
});
</script>
</head>