display to none on mouseover
Hye there,
I'm currently working an a script that covers a large div with smaller divs. When a user goes over a smaller div it has to disappear so a small piece of the large div underneath becomes visible. That was quit easy, but now comes the tricky part. I want that only the div which is underneath the cursor of the user to disappear. In my current script all the small divs disappear until it reaches the div that underneath the cursor. Some one a solution? here's my script
- $(document).ready(function(){
- $('.kraslaag').mouseover(function(){
- $(this).css("display","none");
- });
- });