I have an element that, when hovered over, slides up and down. However, if the user happens to have their cursor over the element as the page loads, it sometimes reverses the action, going down and up. This makes it especially difficult for the visitor because the element is constantly disappearing on them when they try to click it.
This is what the snippet of code looks like:
$j('#gallery_holder').hover(function() {
$j('.gallery_spacer').slideToggle();
});