change background color with change in mouse position
Posted
by Ashish Rajan
on Stack Overflow
See other posts from Stack Overflow
or by Ashish Rajan
Published on 2010-04-29T12:09:56Z
Indexed on
2010/04/29
12:17 UTC
Read the original article
Hit count: 364
I was wondering if it is possible to set background-color with help of mouse coordinates.
What is have is:
I have a DIV-A which is draggable and some other divs which are droppable.
What is need is :
I need to highlight other divs on my page which are droppable, whenever my DIV-A passes over them. What i have is mouse coordinates, is it possible to apply css on the bases of mouse coordinates using jquery.
© Stack Overflow or respective owner