Form SELECT field triggering hover out
I've got a really simple animation that slides down a form when hovered over, unfortunately as soon as you go to select something from a drop down SELECT element the form slides away.
Is there some way of stopping this? Code below:
$(".imgHolder").hover(
function() {$(this).find('.vSmallPlain').slideDown(300);}
,
function() {$(this).find('.vSmallPlain').slideUp(100);}
);
I thought something like :
......
,
function() { if (!$(this).find('.selectElement').hover() ) {$(this).find('.vSmallPlain').slideUp(100);} }
But that doesn't work...