PageSourceSearch

https://www.cardiffstudents.com/stylesheet/october2012/js-components.js?v=7

js cardiffstudents.com collected 2026-10-02 07:34:32 UTC 578 bytes, 19 lines download raw bytes

1// On page ready function
2$( function() {
3    // Single-page nav JS
4    $('.csu-single-page-nav-content').hide();
5    $('.csu-single-page-nav-content:first-child').show();
6    
7    var hash = location.hash + "-tab";
8    if ($(hash).hasClass('csu-single-page-nav-content')) {
9        $('.csu-single-page-nav-content').hide();
10        $(hash).show();
11    }
12});
13
14// Single-page nav JS
15$('body').on('click', '.single-page-nav a', function() {
16    $('.csu-single-page-nav-content').hide();
17    var anchor = $(this).data('target') + "-tab";
18    $(anchor).show();
19});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.