Difference between revisions of "Template:Team:DTU-Denmark/index.html"

Line 719: Line 719:
 
empty_sub()
 
empty_sub()
 
    show_current_sub()
 
    show_current_sub()
 +
});
 +
 +
 +
var timer_leave;
 +
$("div#headerWrapper").hover( function() {
 +
// on mouse in, start a timeout
 +
clearTimeout(timer);
 +
 +
}, function() {
 +
    // on mouse out, cancel the timer
 +
    timer = setTimeout(function(){
 +
var cName = event.target.className
 +
open_sub(cName)
 +
}, delay);
 
});
 
});
  

Revision as of 08:19, 12 August 2016

New HTML template for the wiki