// if this form has a style display: none style attribute, do this if ($('form#personal-information').css('display') == 'none') { $('.multi-steps li:nth-child(2)').addClass('is-active'); $('.multi-steps li:nth-child(1)').removeClass('is-active'); }
if((parallaxFlg.css('display') == 'none')){ parallaxAdCon.hide(); }