Ver original<SCRIPT type=text/javascript>$(document).ready(function(){ var path = location.pathname.substring(1); if ( path ) { $('#b a[href$="' + path + '"]').addClass('active'); }});