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