/* luvena: (http://www.nawozydlaogrodu.pl/wp-content/themes/avada-child/assets/js/luvena.js) */ jQuery(document).ready(function(e) { jQuery(".rollover").css({'opacity':'0'}); jQuery(".product-groups a").hover(function() { jQuery(this).parent().parent().addClass("on"); }, function() { jQuery(this).parent().parent().removeClass("on"); }); jQuery("#home-content-boxes article").hover(function() { jQuery(this).children().next().children().css("color", "#ffffff").fadeIn('slow'); jQuery(this).addClass("on"); }, function() { jQuery(this).children().next().children().css("color", "#323232").fadeIn('slow'); jQuery(this).removeClass("on"); }); jQuery("#home-content-boxes article").click(function() { window.location = jQuery(this).children().next().children().attr('href'); }); jQuery("#expert-news-box-article article").click(function() { window.location = jQuery(this).children().find('a').attr('href'); }); jQuery("#subpage_title").scaleText(); jQuery('#product_menu .mobile-selector').click(function(){ jQuery('#product_menu #mobile-nav-product').slideToggle(240,'easeOutQuad'); }); });