Skip to content

Instantly share code, notes, and snippets.

@jakearchibald
Created July 28, 2009 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakearchibald/157041 to your computer and use it in GitHub Desktop.
Save jakearchibald/157041 to your computer and use it in GitHub Desktop.
glow.events.addListener("#twit", "mouseover", function () {
clearTimeout(myTimeout);
myInfoPanel.show();
});
glow.events.addListener("#twit", "mouseout", closeAfterDelay);
var myTimeout = 0;
function closeAfterDelay() {
myTimeout = setTimeout(function() {
myInfoPanel.hide();
},2000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment