title: How reload (refresh) styles of an element (using cufon font) using jquery
body: <p>please see web site below that i designed (it's from a template):<br>
  <a href="http://noorjamali.soscharge.com" rel="nofollow">http://noorjamali.soscharge.com</a><br>
  my problem is about menu colors after clicking on every menu.<br>
  for testing that try click on ABOUT ME menu and you will see HOME menu is still white and you should hover it by mouse for getting result and turn it's color back to gray.<br>
  please don't test the other menus, because i haven't add jquery codes for them.<br>
  my menu codes is like below :  </p>
  
  <pre><code>        &lt;div class="nav"&gt;
              &lt;div class="nav_shadow"&gt;
                  &lt;ul class="menu"&gt;
                      &lt;li id="item-464" class="current active"&gt;&lt;a href="Default.aspx"&gt;HOME &lt;/a&gt;&lt;/li&gt;
                      &lt;li id="item-465"&gt;&lt;a href="javascript:AboutMeClick();"&gt;ABOUT ME &lt;/a&gt;&lt;/li&gt;
                      &lt;li id="item-444"&gt;&lt;a href="javascript:QuickProfileClick();"&gt;QUICK PROFILE &lt;/a&gt;&lt;/li&gt;
                      &lt;li id="item-207"&gt;&lt;a href="javascript:CertificationsClick();"&gt;CERTIFICATIONS &lt;/a&gt;&lt;/li&gt;
                      &lt;li id="item-467"&gt;&lt;a href="javascript:ProjectsClick();"&gt;PROJECTS &lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>and AboutMeClick() function is like this :  </p>
  
  <pre><code>var $j = jQuery.noConflict();
         function AboutMeClick() {
              $j('#header .nav .nav_shadow .menu li').removeClass('current active');
              $j('#header .nav .nav_shadow .menu li#item-465').addClass('current active');
  
              if ($j('#header').css('top') != -522) {
                  $j('#lveis-wrapper_3').animate({
                      opacity: 0.0
                  }, 1200, function () {
                      // Animation complete.
  
                      $j('#header').animate({
                          top: -522
                      }, 1000, function () {
                          // Animation complete.
                          if ($j('#QuickProfile').css('dispay') != 'none') {
                              $j('#QuickProfile').slideUp(1500, function () { $j('#AboutMe').slideDown(1500); });
                          }
                          else if ($j('#Certifications').css('dispay') != 'none') {
                              $j('#Certifications').slideUp(1500, function () { $j('#AboutMe').slideDown(1500); });
                          }
                          else if ($j('#Projects').css('dispay') != 'none') {
                              $j('#Projects').slideUp(1500, function () { $j('#AboutMe').slideDown(1500); });
                          }
                      });
  
                  });
              }
              else {
                  if ($j('#QuickProfile').css('dispay') != 'none') {
                      $j('#QuickProfile').slideUp(1500, function () { $j('#AboutMe').slideDown(1500); });
                  }
                  else if ($j('#Certifications').css('dispay') != 'none') {
                      $j('#Certifications').slideUp(1500, function () { $j('#AboutMe').slideDown(1500); });
                  }
                  else if ($j('#Projects').css('dispay') != 'none') {
                      $j('#Projects').slideUp(1500, function () { $j('#AboutMe').slideDown(1500); });
                  }
              }
          }
  </code></pre>
  
  <p>and related css to that menu is like this :  </p>
  
  <pre><code>ul.menu &gt; li.active &gt; a:link, ul.menu &gt; li.active &gt; a:visited
  {
      color: rgb(255, 255, 255) !important;
  }
  ul.menu li a:hover, ul.menu li a:active, ul li a:focus
  {
  }
  </code></pre>
  
  <p>i am so confused about this issue.<br>
  why these jquery codes can't do their jobs :  </p>
  
  <pre><code>    $j('#header .nav .nav_shadow .menu li').removeClass('current active');
      $j('#header .nav .nav_shadow .menu li#item-465').addClass('current active');
  </code></pre>
  
  <p>where is the conflict about this issue and how can i fix it?<br>
  also i really don't know where is the place of setting menu colors to grey!!<br>
  is there a way to simulate hover using jquery for getting results? </p>
  
  <p>thanks for attention</p>
  
  <p><strong>EDIT:</strong><br>
  i know that problem is for cufon-yui.js -> but how can i fix that?</p>