1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
| <script>
**$(document).ready(function () {
****$('a[href="#join"]').click(function (e) {
******e.preventDefault();
******var targetOffset = $('a[name="join"]').offset().top;
******$('body').animate({ scrollTop: targetOffset }, 600);
****});
****$('a[href="#find-parking"]').click(function (e) {
******e.preventDefault();
******var targetOffset = $('a[name="find-parking"]').offset().top;
******$('body').animate({ scrollTop: targetOffset }, 600);
****});
****$('a[href="#parking-minute"]').click(function (e) {
******e.preventDefault();
******var targetOffset = $('a[name="parking-minute"]').offset().top;
******$('body').animate({ scrollTop: targetOffset }, 600);
****});
****$('a[href="#reserve"]').click(function (e) {
******e.preventDefault();
******var targetOffset = $('a[name="reserve"]').offset().top;
******$('body').animate({ scrollTop: targetOffset }, 600);
****});
****$('a[href="#parking-mounth"]').click(function (e) {
******e.preventDefault();
******var targetOffset = $('a[name="parking-mounth"]').offset().top;
******$('body').animate({ scrollTop: targetOffset }, 600);
****});
****$('a[href="#getin-getout"]').click(function (e) {
******e.preventDefault();
******var targetOffset = $('a[name="getin-getout"]').offset().top;
******$('body').animate({ scrollTop: targetOffset }, 600);
****});
****$('a[href="#community"]').click(function (e) {
******e.preventDefault();
******var targetOffset = $('a[name="community"]').offset().top;
******$('body').animate({ scrollTop: targetOffset }, 600);
****}); </script> |
Partager