+ nav active style
This commit is contained in:
parent
249347bb9a
commit
a0f36bfaf7
|
@ -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'));
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<%- include('comm/footer.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'));
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<%- include('comm/footer.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'));
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<%- include('comm/footer.html') %>
|
Loading…
Reference in New Issue