You can use
jQuery .on[
^] function to make the javascript react to newly added/loaded elements.
If this helps, please take time to accept the solution. Thank you.
$(document).ready(function() {
$( "your-slider-container" ).on( "hover", "your-slider-selector", function() {
});
});
Ready is needed so that your container is loaded before function call. your-slider-container is common parent element to all your slides...like would be parent for all elements. your-slider-selector can be class, attribute, id or any other identifier which you could use CSS on...most commonly class in this case.