Advanced Tabs Open on Hover

[ad_1]

Plugin Support
Pial

(@iapial)

Hello @sbml

Hope you are doing well.

Sorry to inform you that our plugin currently does not have that feature to open EA Advanced Tab on the hover event.

Thank you for the inquiry it will help us to improve our plugin.

Have a nice day.

Thread Starter
sbml

(@sbml)

Hello @iapial

Thanks a lot for your answer.

I added a small jquery script. I don’t know if it’s the best way but it works well.

jQuery(document).ready(function($) {
	
    $('.eael-tabs-nav ul li').hover(function() {
		
        $(".eael-tabs-nav ul li").addClass("inactive").removeClass('active').attr({ 
		'aria-expanded':"false",
		'aria-selected':"false",
		tabindex:"-1"
	});
		
	$(this).removeClass('inactive').addClass("active").attr({ 
		'aria-expanded':"true",
		'aria-selected':"true",
		tabindex:"0"
	});
			
        var selected_tab = $(this).attr("aria-controls");
		$('.eael-tabs-content div').addClass('inactive').removeClass('active');
		$('.eael-tabs-content #'+selected_tab).addClass('active');
		
    });
});

Hace a nice day and great work with this plugin.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer