Title: Run js on hover
Last modified: July 14, 2017

---

# Run js on hover

 *  Resolved [grosschristy2017](https://wordpress.org/support/users/grosschristy2017/)
 * (@grosschristy2017)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/run-js-on-hover/)
 * I have a js code that I wish to trigger when users hover on the slider. I wrote
   it in document ready, but this just executes the script on page load. Is there
   a way to specify when the code should run?

Viewing 1 replies (of 1 total)

 *  [WD Support](https://wordpress.org/support/users/wdsupport/)
 * (@wdsupport)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/run-js-on-hover/#post-9319393)
 * Hi, [@grosschristy2017](https://wordpress.org/support/users/grosschristy2017/)!
 * Thank you for posting your question!
 * Please go to **Settings** tab of your slider, then navigate to **Slider Callbacks**
   section. You will see **Add new callback** drop down menu.
 * Select **On Slide Hover** option and write your code in the textarea that appears.
   
   Thanks! Have a wonderful day!

Viewing 1 replies (of 1 total)

The topic ‘Run js on hover’ is closed to new replies.

 * ![](https://ps.w.org/slider-wd/assets/icon-256x256.png?rev=2068748)
 * [Slider by 10Web - Responsive Image Slider](https://wordpress.org/plugins/slider-wd/)
 * [Support Threads](https://wordpress.org/support/plugin/slider-wd/)
 * [Active Topics](https://wordpress.org/support/plugin/slider-wd/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slider-wd/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slider-wd/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WD Support](https://wordpress.org/support/users/wdsupport/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/run-js-on-hover/#post-9319393)
 * Status: resolved