title: If li hasClass addClass to another div
body: <p>My navigation get fixed by adding the class (.fix) when i scroll down. It has the following structure:</p>
  
  <pre><code>&lt;div class="navigation-holder fix"&gt;
      &lt;div&gt;
          &lt;nav id="navigation"&gt;
              &lt;ul id="main-nav"&gt;
                  &lt;li class="menu-item-93" /&gt;
                  &lt;li class="menu-item-95" /&gt;
                  &lt;li class="menu-item-94" /&gt;
                  &lt;li class="menu-item-96" /&gt;
                  &lt;li class="menu-item-97" /&gt;
                  &lt;li class="menu-item-98" /&gt;
              &lt;/ul&gt;
          &lt;/nav&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The li elements get automatically the class (.act) when they are active.</p>
  
  <p>This is the code for the fixed navigation.</p>
  
  <pre><code>$("document").ready(function (jQuery) {
      var nav = $('.navigation-holder');
      $(window).scroll(function () {
          if ($(this).scrollTop() &gt; 125) {
              nav.addClass("fix");
          } else {
              nav.removeClass("fix");
          }
      });
      if ($(".menu-item-95").hasClass("act")) {
          $(".fix").addClass("darkmenu")
      };
  });
  </code></pre>
  
  <p>I'm trying to add another class (.darkmenu) to div (.fix) if li (95,96,98) has class (.act), but it doesn't work...</p>