Difference between revisions of "Template:Paris Saclay"
m |
m |
||
Line 7: | Line 7: | ||
$( document ).ready(function() { | $( document ).ready(function() { | ||
$('li.active').prevAll().addClass('before'); | $('li.active').prevAll().addClass('before'); | ||
− | $('body').scrollspy({ target: '#submenups', offset= | + | $('body').scrollspy({ target: '#submenups', offset=30 }) |
$('#submenups').on('activate.bs.scrollspy', function () { | $('#submenups').on('activate.bs.scrollspy', function () { | ||
$('li.active').prevAll().addClass('before'); | $('li.active').prevAll().addClass('before'); |
Revision as of 14:54, 13 September 2015