title: Changing text (link) color onclick with javascript
body: <p>I can not change the color of the text with js. Showing and Hiding div tags are working great but color can't be changed. btw, in my css file there are no styles for those links.</p>
  
  <p>HTML:</p>
  
  <pre><code>    &lt;ul&gt;
      &lt;li id="web_link"&gt;&lt;a href="#"&gt;WEB&lt;/a&gt;&lt;/li&gt;
      &lt;li id="design_link"&gt;&lt;a href="#"&gt;DESIGN&lt;/a&gt;&lt;/li&gt;
      &lt;li id="photo_link"&gt;&lt;a href="#"&gt;PHOTO&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  
  &lt;div id="web_proekti"&gt;
   Some elements
  &lt;/div&gt;
  
  &lt;div id="design_proekti"&gt;
  Some elements 
  &lt;/div&gt;  
  
  &lt;div id="photo_proekti"&gt;
  Some elements 
  &lt;/div&gt;
  </code></pre>
  
  <p>Javascript file:</p>
  
  <pre><code>$('#web_link').click(function()
  {
      $('#web_proekti').show();
      $('#design_proekti').hide();
      $('#photo_proekti').hide();
      $('#design_link').css('color','#999');
      $('#photo_link').css('color','#999');
  
  }
  );
  
  $('#design_link').click(function()
  {
      $('#design_proekti').show();
      $('#web_proekti').hide();
      $('#photo_proekti').hide();
      $('#web_link').css('color','#999');
      $('#photo_link').css('color','#999');
  
  }
  );
  
  $('#photo_link').click(function()
  {
      $('#photo_proekti').show();
      $('#design_proekti').hide();
      $('#web_proekti').hide();
      $('#design_link').css('color','#999');
      $('#web_link').css('color','#999');
  
  }
  );
  </code></pre>