1"use strict"; 2/******************************************************************************/ 3/******************************************************************************/ 4 5jQuery(document).ready(function($) 6{ 7 var tab=$('.chbs-tab-custom'); 8 9 tab.each(function() 10 { 11 var navigation=$('<ul></ul>').append($(this).children('a')); 12 var content=$(this).find('>div'); 13 14 $(this).append(navigation).append(content); 15 16 $(this).find('ul>a').wrap('<li></li>'); 17 18 $('.chbs-tab-custom').tabs( 19 { 20 create:function() 21 { 22 $(window).resize(); 23 } 24 }); 25 }); 26 27 $(window).resize(function() 28 { 29 tab.each(function() 30 { 31 var width=$(this).width(); 32 var count=parseInt($(this).children('.ui-tabs-nav').children('li').length,10); 33 34 if((width/count)>200) 35 { 36 $(this).removeClass('chbs-tab-custom-responsive'); 37 } 38 else 39 { 40 $(this).addClass('chbs-tab-custom-responsive'); 41 } 42 }); 43 }); 44});
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.