Difference between revisions of "Template:Paris Saclay"
m |
m |
||
Line 6: | Line 6: | ||
<script> | <script> | ||
$( document ).ready(function() { | $( document ).ready(function() { | ||
− | |||
$('body').scrollspy({ target: '#submenups' }) | $('body').scrollspy({ target: '#submenups' }) | ||
+ | $('#submenups').on('activate.bs.scrollspy', function () { | ||
+ | $('#submenups li.activate').prevAll().addClass('before'); | ||
+ | }) | ||
}); | }); | ||
</script> | </script> |
Revision as of 14:18, 13 September 2015