Last change
on this file since 14310 was
11706,
checked in by Henrik Bettermann, 10 years ago
|
- Remove waeup.kofa from sources. Use waeup.kofa PyPI package instead.
- Copy layout folder from waeup.kofa. kofacustom.sampleuni uses its own Diazo
layout.
|
File size:
365 bytes
|
Rev | Line | |
---|
[11706] | 1 | /* After loading the page, softly scroll to the #kofa-scroll-target tag, |
---|
| 2 | if it exists */ |
---|
| 3 | $(document).ready(function (){ |
---|
| 4 | var scroll_target = $('#kofa-scroll-target'); |
---|
| 5 | if (scroll_target.length) { |
---|
| 6 | $('html,body').animate( |
---|
| 7 | { |
---|
| 8 | scrollTop: scroll_target.offset().top |
---|
| 9 | - $(window).height() + 2 * scroll_target.height() |
---|
| 10 | }) |
---|
| 11 | } |
---|
| 12 | }); |
---|
Note: See
TracBrowser for help on using the repository browser.