Posted By

kristarella on 01/25/09


Tagged

wordpress jquery thesiswp


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

girliegeek
tmbrenneke
vali29
joelhaus
naeemnur


jQuery to add classes to navigation links in Thesis


 / Published in: jQuery
 

  1. function nav_jquery_functions() { ?>
  2. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
  3. <script>
  4. $(function(){
  5. $("ul#tabs li:contains('About')").addClass("about");
  6. });
  7. </script>
  8. <?php
  9. }
  10. add_action ('wp_head', 'nav_jquery_functions', '99');

Report this snippet  

You need to login to post a comment.