...

View Full Version : Delayed drop down menu



irishluck
01-30-2012, 05:22 PM
Its a real pain when you try to go into a category and then hit your mouse off of it and the rab disappears.

Alot of our customers have been complaining about that.

So id like to ad a delayed drop down code into the css file.

I found the code but have no idea how to integrate it into it.

Is there anyone who things they may be able to help.....

This is the code i found:

<script type="text/javascript">
$(document).ready(function(){
$("#delayed-drops .nav-item").hoverIntent({
interval: 150, // milliseconds delay before onMouseOver
over: drops_show,
timeout: 500, // milliseconds delay before onMouseOut
out: drops_hide
});
});
function drops_show(){ $(this).addClass('show'); }
function drops_hide(){ $(this).removeClass('show'); }
</script>

<style type="text/css">
#delayed-drops .nav-item.show .drops {
display: block;
}
</style>

abduraooft
01-31-2012, 05:44 AM
Its a real pain when you try to go into a category and then hit your mouse off of it and the rab disappears. The issue is not clear. Can we have a link to your page?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum