1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10jQuery.noConflict(); 11jQuery(document).ready(function($){ 12 // Tab Sidebar 13 $('#tab-sidebar').each(function() { 14 $(this).prepend('<div class="tab-widget-menu clear"><ul></ul></div>'); 15 $(this).find('.widget').each(function(n) { 16 $('.tab-widget-menu ul').append('<li class="tab' + (n+1) + '">' + $(this).children('h3').html() + '</li>'); 17 }); 18 }); 19 $('#tab-sidebar .widget').hide(); 20 $('#tab-sidebar .widget-title').remove(); 21 $('#tab-sidebar .widget:first').show(); 22 $('.tab-widget-menu ul li:first').addClass('selected'); 23 $('.tab-widget-menu ul li').click(function(){ 24 $('.tab-widget-menu ul li').removeClass('selected'); 25 $(this).addClass('selected'); 26 $('#tab-sidebar .widget').hide(); 27 $('#tab-sidebar .widget').eq($('.tab-widget-menu ul li').index(this)).fadeIn(500); 28 }); 29 30 // Remove right border from last-child of catnav 31 $('#tab-sidebar .widget ul li:first-child').css('border-top','0'); 32 33 34 // Layout Switcher for post list 35 if($.cookie('MODE_SWITCHER') == 'grid-content') { 36 $('.display').addClass('display-grid'); 37 $('.list-content').addClass($.cookie('MODE_SWITCHER')); 38 } 39 $('.display').click(function(){ 40 $(this).toggleClass('display-grid'); 41 $('.list-content').toggleClass('grid-content'); 42 if($('.list-content').hasClass('grid-content')) { 43 var postmode = 'grid-content'; 44 } else { 45 var postmode = ''; 46 } 47 $.cookie('MODE_SWITCHER',postmode, { path: '/', expires: 10000 }); 48 return false; 49 }); 50 51 // jQuery Superfish menu 52 $('ul.sf-menu').superfish(); 53 54}); 55}
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.