diff data/js/custom.js @ 0:ca58e9466cbf

First commit
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Mon, 29 Jun 2015 16:38:36 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/js/custom.js	Mon Jun 29 16:38:36 2015 +0100
@@ -0,0 +1,11 @@
+$(document).ready(function()
+{
+    $("#counts-table").tablesorter({sortList: [[2,1]]});
+        //assign the sortStart event
+    $("#counts-table").bind("sortStart", function() {
+        $("#overlay").show();
+    }).bind("sortEnd",function() {
+        $("#overlay").hide();
+    });
+}
+);