Display Arrows based on Mouse Movement

The following code can be used to display Navigation Arrows based on what side the user's mouse is on.
For example, if the user's mouse is on the left side of the slider, only the left arrow would be shown, and vice versa.

CSS:

  • Edit your "revapi" number.
    Replace the "revapi28" part toward the top of the script with your slider's ID.

JavaScript: