Deadweight
04-28-2014, 11:06 PM
Currently I am trying to make a unique slider that will slide down a div item with the id bce_slider once you mouse over an li. Also, if you move your mouse over to bce_slider it will not disappear. However if you mouseleave/mouseout the #nav>li or #bce_slider then #bce_slider should slide away.
Here is my the issue with the code:
$(document.body).on('mouseout',':not('+a.id+' *, #bce_slider)',function(e){
$('#'+a.sliderId).html('')
$('#'+a.sliderId).stop().animate({
height:'0px'
},300)
})
Here is the URL:
http://thebcelements.com/dhtml/slider/slide.htm
Anyways, thanks in advance!
Here is my the issue with the code:
$(document.body).on('mouseout',':not('+a.id+' *, #bce_slider)',function(e){
$('#'+a.sliderId).html('')
$('#'+a.sliderId).stop().animate({
height:'0px'
},300)
})
Here is the URL:
http://thebcelements.com/dhtml/slider/slide.htm
Anyways, thanks in advance!