[Fixed]-JQuery change div position onMouseOver

1👍

left, right, top, bottom properties will not work with default position value which is static. You should give position:absolute/relative. Best one to give in this scenario is absolute.

0👍

I solved it out. The solution was simple.

mouseX + "px";

and in my css I needed to put:

position: absolute;

Leave a comment