jQuery Plugin To Fire An Event When Mouse Leaves All Elements - mouseoutall
File Size: | 6.22 KB |
---|---|
Views Total: | 357 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

mouseoutall is a jQuery plugin used to extend the default mouseout event that allows to fires a callback event when the mouse is moved off all elements in a group.
How to use it:
1. Download and put the jQuery mouseoutall plugin's script jquery.mouseoutall.js
after jQuery library.
<script src="//code.jquery.com/jquery.min.js"></script> <script src="jquery.mouseoutall.js"></script>
2. The JavaScript library to execute a callback function when your mouse leaves all elements within the container 'instant'.
$('.instant .box').mouseoutall(function(){ // do something });
3. The JavaScript library to execute the 'mouseoutall' callback after 3 seconds.
$('.delay .box').mouseoutall(3000,function(){ // do something });
This awesome jQuery plugin is developed by simon-thorpe. For more Advanced Usages, please check the demo page or visit the official website.