Its like introductory javascript. Not that this will mean anything to you necessarily, but this is the function I wanted to tweak a bit.
$(document).ready(function() {
$('#nav > ul').hover(
function () {
$(this).children('li').slideDown('fast');
},
function () {
$(this).children('li').slideUp('fast');
})
});
And the website that the function goes to is yipe.emich.edu/~npolaski. The website is really ghetto, and not something we plan to maintain but more so just to meet the requirements of the course. The function above is what makes the sub-menus appear when you highlight various aspects of our navigation bar. The problem is when you move the mouse around very quickly on the navigation bar, things get really ugly, and I wanted to somehow implement a delay.
So for example, you would have to "hover" your mouse over Bars and Clubs for x amount of time before the sub-menu appeared. Im just not sure on the implementation of something like that. We only got like 2 weeks to learn basic jQuery, so our knowledge is extremely limited.
|