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