andyd8
Member
I've created a toggle which works on rollover, so the user rolls over text and then information is displayed below it. The only problem is that if this is rolled over multiple times then the toggle opens and closes for how many times it was rolled over as opposed to just staying open or closing. I've posted the javascript below. Any help would be wicked, thanks.
Andy.
$(".open").hover(
function(){
$(this).next(".toggle").toggle(400);
return false;
},function(){
$(this).next(".toggle").toggle(400);
return false;
}
);
Andy.
$(".open").hover(
function(){
$(this).next(".toggle").toggle(400);
return false;
},function(){
$(this).next(".toggle").toggle(400);
return false;
}
);