Skip to content

Instantly share code, notes, and snippets.

View rvw's full-sized avatar
👋

Rutger van Waveren rvw

👋
View GitHub Profile
@rvw
rvw / simple-menu.js
Created May 15, 2013 13:58
simple show/hide menu (without the need for a js framework)
/* for showing the collection of feeds menu*/
var az=500;var bz=0;var cz=0;function o(ez){fz();if(cz)cz.style.visibility='hidden';cz=document.getElementById(ez);cz.style.visibility='visible';cz.onmouseout=gz;cz.onmouseover=fz;}
function hz(){if(cz)cz.style.visibility='hidden';}
function gz(){bz=window.setTimeout(hz,az);}
function fz(){if(bz){window.clearTimeout(bz);bz=null;}
}
document.onclick=hz;
### Keybase proof
I hereby claim:
* I am rvw on github.
* I am rvw (https://keybase.io/rvw) on keybase.
* I have a public key ASC4nQHC3fV7W14FSFqbuQdo99jANR-LL8h-PSgkjOI8UAo
To claim this, I am signing this object: