Skip to content

Instantly share code, notes, and snippets.

@jeremyfelt
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyfelt/32f8f9e3a667b0ccf2b2 to your computer and use it in GitHub Desktop.
Save jeremyfelt/32f8f9e3a667b0ccf2b2 to your computer and use it in GitHub Desktop.
(function($){
$(document.ready(function(){
var cycle_slideshow = $('.cycle-slideshow');
var cycle_span = $('.cycle-pager span');
if ( cycle_slideshow.length > 0 ) {
cycle_slideshow.on('mouseover',function(){
cycle_span.css('height', '20px');
});
cycle_slideshow.on('mouseleave',function(){
cycle_span.css('height', '5px');
});
}
}));
}(jQuery));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment