diff --git a/views/ei.html b/views/ei.html index 88ac395..1b69b96 100644 --- a/views/ei.html +++ b/views/ei.html @@ -17,6 +17,11 @@ showBorder: false, enableLinks: true }); + $('.navbar-nav li a').each(function () { + if ($(this).attr('href') == '/ei') { + console.log($(this).parent().addClass('active')); + } + }); }); <%- include('comm/footer.html') %> \ No newline at end of file diff --git a/views/intro.html b/views/intro.html index 13aaa92..8cb6fe2 100644 --- a/views/intro.html +++ b/views/intro.html @@ -17,6 +17,11 @@ showBorder: false, enableLinks: true }); + $('.navbar-nav li a').each(function () { + if ($(this).attr('href') == '/intro') { + console.log($(this).parent().addClass('active')); + } + }); }); <%- include('comm/footer.html') %> diff --git a/views/origin.html b/views/origin.html index 896dd91..23ec7aa 100644 --- a/views/origin.html +++ b/views/origin.html @@ -19,6 +19,11 @@ showBorder: false, enableLinks: true }); + $('.navbar-nav li a').each(function () { + if ($(this).attr('href') == '/origin') { + console.log($(this).parent().addClass('active')); + } + }); }); <%- include('comm/footer.html') %> \ No newline at end of file