onenumerology
Registered Member
- Jul 16, 2010
- 75
- 13
Right now the script works by showing a button when i hover over it. How do i instead make it show the button permanently?
Code:
jQuery('.next-block a').live('click',function(event){
event.preventDefault();
if (!et_animation_running) rotate_slide('next');
if ( typeof(et_auto_animation) !== 'undefined' ) clearInterval(et_auto_animation);
});
jQuery('.prev-block a').live('click',function(event){
event.preventDefault();
if (!et_animation_running) rotate_slide('prev');
if ( typeof(et_auto_animation) !== 'undefined' ) clearInterval(et_auto_animation);
});
$featured_slides.hover(function(){
if ( !et_animation_running ) {
if ( jQuery(this).hasClass('active-block') )
jQuery(this).find('.featured-link').stop(true, true).animate({'opacity':'show'},300);
else {
jQuery(this).find('.gotoslide').stop(true, true).animate({'opacity':'show'},300);
}
}
pause_scroll = true;
},function(){
if ( !et_animation_running ) {
if ( jQuery(this).hasClass('active-block') )
jQuery(this).find('.featured-link').stop(true, true).animate({'opacity':'hide'},300);
else {
jQuery(this).find('.gotoslide').stop(true, true).animate({'opacity':'hide'},300);
}
}
pause_scroll = false;
});