Is there a way to change the cursor to a left arrow when on the left half of the screen and switch it to a right arrow when on the right half, using JavaScript? I am trying to achieve something similar to what is shown on this website.
I attempted to accomplish this by tracking mouse location and comparing it to the page width (e.g. if x-mouse location > page width: change cursor to right). However, my previous efforts have been unsuccessful.
Do you have any suggestions on how to make this work?