From 85f97815af1237463bc50b766f06b66b0c5ac8c1 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 23 Apr 2010 00:06:53 -0700 Subject: 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 --- include/output.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'include/output.php') 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() e-Doko - + @@ -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); + }); + + }); -- cgit v1.2.3-18-g5258