@section('page_title') OSAA - Officials @stop @section('page_sub_title') OSAA Officials Contracts @stop @section('scripts') @parent @stop @section('jquery_init') if(!window.console) { window.console = { log: $.noop, group: $.noop, groupEnd: $.noop }; } $('.button').button(); $('a[data-jump-tab]').click(function(event) { event.preventDefault(); var link = $(this); var target_tab_id = link.attr('data-jump-tab'); activateTab(target_tab_id, '#content'); }); $('.tabs').tabs({ beforeActivate : function (event, ui) { if (ui.newTab.is('[data-escape]')) { event.preventDefault(); window.location = ui.newTab.attr('data-escape'); } } }); /* * Tab activation and element focus */ function activateTab(target_tab_id, focus) { var target_tab = $('.tabs ul:first li a[href="#' + target_tab_id + '"]'); var target_tab_index = target_tab.attr('data-tab-order'); $('.tabs').tabs('option', 'active', target_tab_index); if (focus) { focusOnElement($(focus)); } } @if (!Helpers::strIsEmpty($info['tab'])) var anchor = "{{ $info['tab'] }}"; @else var anchor = window.location.hash.substring(1); @endif var focus = false; if (anchor) { activateTab(anchor, false); focus = '#content'; } @if (!Helpers::strIsEmpty($info['focus'])) focus = "#{{ Session::get('focus') }}"; @endif function focusOnElement(focus_element) { var top = focus_element.offset().top - 45; setTimeout(function() { $('html, body').scrollTop(top); }, 100); } if (focus) { focusOnElement($(focus)); } // Table row highlighter function colorRows () { $('table[data-color-rows]').each(function () { var i = 0; var table = $(this); $('tbody tr', table).each(function () { if (i % 2 == 1) { $(this).addClass('odd'); } else { $(this).removeClass('odd'); } i = i + 1; }); }); } colorRows(); @stop @section('page_functions') @stop @section('main_content') {{-- Tabbed Content Holder --}}
{{-- Tab List --}} {{-- End Tab List --}} {{-- Sport Tabs --}} @foreach ($info['sports'] as $index => $sport)

{{ ucfirst($sport) }}


@endforeach {{-- End of Sports Tabs --}}
{{-- End Tabbed Content Holder --}} @stop