1function setupTabDiv(containerClass, contentClass) { 2 var tabContainers = $('div.' + contentClass + ' > div'); 3 tabContainers.hide().filter(':first').show(); 4 5 $('div.' + containerClass +' .a_tabs').click(function () { 6 tabContainers.hide(); 7 tabContainers.filter(this.hash).fadeIn(500); 8 $('div.' + containerClass + ' .a_tabs').removeClass('current'); 9 $(this).addClass('current'); 10 return false; 11 }).filter(':first').click(); 12} 13 14/*function setupTabDiv(containerClass, contentClass) { 15 var tabContainers = $('div.' + contentClass + ' > div'); 16 tabContainers.hide().filter(':first').show(); 17 18 $('div.' + containerClass +' a').click(function () { 19 tabContainers.hide(); 20 tabContainers.filter(this.hash).fadeIn(500); 21 $('div.' + containerClass + ' a').removeClass('current'); 22 $(this).addClass('current'); 23 return false; 24 }).filter(':first').click(); 25}*/ 26 27$(document).ready(function() { 28 29 var stickyNavTop = $('#top').offset().top; 30 31 var stickyNav = function(target){ 32 var scrollTop = $(window).scrollTop(); 33 if (scrollTop > stickyNavTop) { 34 $('#backToTop').slideDown("fast"); 35 } else { 36 $('#backToTop').slideUp("fast"); 37 } 38 }; 39 40 stickyNav(); 41 42 $(window).scroll(function() { 43 stickyNav(); 44 }); 45 46 //selection function 47 $('.item .title').click(function(){ 48 if($(this).parent().find('.content').is(':hidden')){ 49 $(this).parent().find('.content').slideDown("fast"); 50 $(this).parent().find('#icon').attr('src','/BulkSmsGateway/resources/images/icons/' + imgFolder + 'icon_close.png'); 51 }else{ 52 $(this).parent().find('.content').slideUp("fast"); 53 $(this).parent().find('#icon').attr('src','/BulkSmsGateway/resources/images/icons/' + imgFolder + 'icon_open.png'); 54 } 55 }); 56 57 58 }); 59 60 //SCROLL FUNCTION 61function scrollS(param){ 62 //alert(param); 63 $('html, body').animate({ 64 scrollTop: $(param).offset().top 65 }, 300); 66} 67 68
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.