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
Post a Comment