aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/main.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/main.js b/include/main.js
index 8245cef2f..3b6528ee9 100644
--- a/include/main.js
+++ b/include/main.js
@@ -43,6 +43,7 @@
$.ajaxSetup({cache: false});
msie = $.browser.msie ;
NavUpdate();
+ sparkler();
// Allow folks to stop the ajax page updates with the pause/break key
$(document).keypress(function(event) {
if(event.keyCode == '19') {
@@ -59,6 +60,20 @@
});
});
+ var spark = false;
+ function sparkler() {
+ if(spark) {
+ $('.sparkle').css({cursor: 'pointer'});
+ spark = false;
+ }
+ else {
+ $('.sparkle').css({cursor: 'crosshair'});
+ spark = true;
+ }
+ setTimeout(sparkler,500);
+ }
+
+
function NavUpdate() {
if($('#live-network').length) { src = 'network'; liveUpdate(); }