jQuery plug in question -


i'm using following script mark current page a.active on url.

$(function () {         var menus = $('#menu >li > a');         menus.removeclass('active');          var matches = menus.filter(function () {             return document.location.href.indexof(this.href) >= 0;          });          matches.addclass('active');     }); 

i have following website: website

as can work on menu items exept 'massage treatments' - why??

any appreciated. pete

i guess <script type="text/javascript" src="js/index.js"></script> missing on 'massage treatments' page


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -