Use the CLICK event of the slider (as previously mentioned).

You can create an event that fires automatically