source:
main/waeup.kofa/branches/henrik-transcript-workflow/layout/static/js/kofa-activate-tab.js
@
17172
| Last change on this file since 17172 was 11254, checked in by , 13 years ago | |
|---|---|
| File size: 225 bytes | |
| Line | |
|---|---|
| 1 | $(document).ready(function(){ |
| 2 | |
| 3 | /* |
| 4 | Activate current tab, if any, but jump to top, if hash value contains '-top' |
| 5 | */ |
| 6 | |
| 7 | var anchor = window.location.hash.replace('-top',''); |
| 8 | $('a[href="' + anchor + '"]').trigger('click'); |
| 9 | |
| 10 | }); |
Note: See TracBrowser for help on using the repository browser.
