]> git.mxchange.org Git - friendica.git/commitdiff
sort out the magic cursor
authorMike Macgirvin <mike@macgirvin.com>
Sat, 9 Oct 2010 05:21:34 +0000 (22:21 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Sat, 9 Oct 2010 05:21:34 +0000 (22:21 -0700)
include/main.js
view/theme/default/lock.cur [new file with mode: 0755]
view/theme/default/style.css

index f87d87fb9aea80d060f84668976bdefbe1454fb1..f0cb8571b9ba16c69e64438e8877cf7483caac75 100644 (file)
@@ -29,7 +29,6 @@
                $.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') {
                });                                     
        });
 
-       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(); }
diff --git a/view/theme/default/lock.cur b/view/theme/default/lock.cur
new file mode 100755 (executable)
index 0000000..892c5e8
Binary files /dev/null and b/view/theme/default/lock.cur differ
index 8ccecc9e0d47d194ec6b48acb8c5bc4b9fe39c65..b8de47826139ef3b1ffaefde11e7a7cd7d9b20a6 100644 (file)
@@ -1688,6 +1688,6 @@ a.mail-list-link:hover {
 }
 
 .sparkle {
-       cursor: crosshair;
+       cursor: url('lock.cur'), pointer;
 /*     cursor: pointer !important; */
 }