Return to Snippet

Revision: 31627
at September 9, 2010 21:14 by jmaties


Initial Code
$(document).ready(function(){
    //set class active-anchor to active anchor
    $('a').each(function(){
    if($(this).attr('href')==window.location.search)
    $(this).addClass('active-anchor')
    });
    });

Initial URL

                                

Initial Description

                                

Initial Title
Ancla activo con JQuery

Initial Tags
jquery, drupal

Initial Language
jQuery