X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=GuruMeditation.js;fp=GuruMeditation.js;h=0000000000000000000000000000000000000000;hb=70e513e9e8234411349aead00bc682de669771e0;hp=bc7f5e973f26abc92d7612a28dfd64ab39e8b114;hpb=1d936879e8599e2630d2ff92da1fed7ccbd667a0;p=wiki.git diff --git a/GuruMeditation.js b/GuruMeditation.js deleted file mode 100644 index bc7f5e9..0000000 --- a/GuruMeditation.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2008, 2009 Bernie Innocenti -// -// FIXME: The following JS snippet is harder to pass than ACID 3 - -var guru = document.getElementById('guru'); - -// Firefox 2.0 doesn't take border-color, but returns border-top-color fine -var color = document.defaultView.getComputedStyle(guru,null).getPropertyValue('border-top-color'); - -function guruOn() { - guru.style.setProperty('border-color', color, ''); - setTimeout('guruOff()', 1000); -} -function guruOff() { - guru.style.setProperty('border-color', '#000000', ''); - setTimeout('guruOn()', 1000); -} -// Safari 2.0 returns this rgba crap -// Konqueror 3.5.6 doesn't seem to support computed properties -if (color && color != 'rgba(0, 0, 0, 0)') { - //window.alert("enabled! color='" + color + "'"); - guruOn(); -}