ورود

View Full Version : hide نمیشه ولی show میشه؟! متد mouseLeave کار نمیکنه!!



RIG000
دوشنبه 29 مهر 1392, 10:06 صبح
<script>
$().ready(function () {
jQuery("#ProductMenuShow").hide();
jQuery("#ProductMenu").mouseenter(function () {
jQuery("#ProductMenuShow").show(1000);
});
});
</script>
<script>
jQuery("#ProductMenuShow").mouseleave(function () {
jQuery("#ProductMenuShow").hide(1000);
});
</script>
موس لیو کار نمیکنه!!!
pruductmenushow اینجا id دایو div ما هستش

RIG000
دوشنبه 29 مهر 1392, 10:44 صبح
حل شد ...

<script>
$().ready(function () {
jQuery("#ProductMenuShow").hide();
jQuery("#ProductMenu").mouseenter(function () {
jQuery("#ProductMenuShow").show(1000);
});
});
</script>
<script>
$().ready(function(){
jQuery("#ProductMenuShow").mouseleave(function () {
jQuery("#ProductMenuShow").hide(1000);
jQuery("#ProductMenu").hide(2000)
});
});
</script>