- Timestamp:
- 17 Feb 2014, 07:03:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/layout/static/js/kofa-activate-tab.js
r11104 r11107 1 1 $(document).ready(function(){ 2 2 3 //* activate current tab, if any... */ 4 $('a[href="' + window.location.hash + '"]').trigger('click'); 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'); 5 9 6 10 });
Note: See TracChangeset for help on using the changeset viewer.