PageSourceSearch

https://www.bonbeachps.vic.edu.au/themes/theme1/js/customjs.js

js bonbeachps.vic.edu.au collected 2026-09-25 02:44:07 UTC 27,990 bytes, 535 lines download raw bytes

1(function($) {
2  "use strict";
3    $=jQuery;
4
5    jQuery(document).ready(function($){
6        var delay = (function () {
7            var timer = 0;
8            return function (callback, ms) {
9                clearTimeout(timer);
10                timer = setTimeout(callback, ms);
11            };
12        })();
13        if (fixed_nav == 2) {
14            var nav = $('nav.main-nav');
15            var d = nav.offset().top;
16            $(window).scroll(function () {
17                if($(window).width() <= 1023) {
18                    nav.removeClass("fixed");
19                    $('.main-nav').css('margin-top','0');
20                    return false;
21                }
22                if ($(this).scrollTop() > d) {
23                    nav.addClass("fixed");
24                    //menu fixed if have admin bar
25                    var ad_bar = $('#wpadminbar');
26                    if(ad_bar.length != 0) {
27                        $('.main-nav').css('margin-top',ad_bar.height());
28                    }
29                } else {
30                    nav.removeClass("fixed");
31                    $('.main-nav').css('margin-top','0');
32                }
33            });
34        }
35        // Back top
36    	$(window).scroll(function () {
37    		if ($(this).scrollTop() > 500) {
38    			$('#back-top').css('bottom','0');
39    		} else {
40    			$('#back-top').css('bottom','-34px');
41    		}
42    	});
43        
44    	// scroll body to top on click
45    	$('#back-top').click(function () {
46    		$('body,html').animate({
47    			scrollTop: 0,
48    		}, 1300);
49    		return false;
50    	});
51        $(window).resize(function(){
52            if($(this).width() >= 1050 ){
53                $('#main-mobile-menu').hide();
54            }
55        });
56        $('.main-nav .mobile').click(function(){
57            $(this).siblings('#main-mobile-menu').toggle(300);
58        });
59        $('.main-nav #main-mobile-menu > ul > li.menu-item-has-children').prepend('<div class="expand"><i class="fa fa-angle-down"></i></div>');
60        $('.expand').click(function(){
61            $(this).siblings('.sub-menu').toggle(300); 
62        });
63        
64        $('#main-search .search-icon').click(function(){
65            if ($(this).siblings('#s').height() == 0){
66                $('#main-search #s').css('height','45px');
67                $('#main-search.search-ltr #s').css('padding','5px 50px 5px 15px');
68                $('#main-search #s').css('font-size','14px');  
69                $('#main-search #s').css('border','1px solid #fff');  
70                $('#main-search i.fa-search').css('display', 'none');
71                $('#main-search i.fa-times').css('display', 'block');
72            } else {
73                $('#main-search #s').css('height','0');
74                $('#main-search #s').css('padding','0');
75                $('#main-search #s').css('font-size','0'); 
76                $('#main-search #s').css('border','0');  
77                $('#main-search i.fa-search').css('display', 'block');
78                $('#main-search i.fa-times').css('display', 'none');
79            }
80            
81        });
82
83        //fitvid
84      /*  $('.shadowfiend-embed-video').fitVids();
85        $('.single .article-content').fitVids();*/
86        //Ticker 
87       /* if ((ticker != null) && (ticker.length != 0)) {
88            $.each( ticker, function( id, config ) {      
89                if(config == 'Scroll'){
90                    scroll_ticker_create('#'+id);
91                }else if(config == 'Type'){
92                    type_ticker_create('#'+id);
93                }else if(config == 'Slide'){
94                    $("#"+id+" ul.ticker").liScroll({travelocity: 0.07});
95                }
96            });
97        }*/
98        //Megamenu
99        /*if (megamenu_carousel_el != null) {
100            var shadowfiend_megamenu_item;
101            $.each( megamenu_carousel_el, function( id, maxitems ) {     
102                shadowfiend_megamenu_item = $('#'+id).find('.shadowfiend-sub-post').length;
103                if(shadowfiend_megamenu_item > maxitems) {
104                    $('#'+id).flexslider({
105                        animation: "slide",
106                        animationLoop: true,
107                        slideshow: false,
108                        itemWidth: 10,
109                        minItems: maxitems,
110                        maxItems: maxitems,
111                        controlNav: false,
112                        directionNav: true,
113                        slideshowSpeed: 3000,
114                        move: 1,
115                        touch: true,
116                        useCSS: true,
117                        nextText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "></polyline></svg>',
118                        prevText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "></polyline></svg>',
119                    });
120                }else{
121                    $('#'+id).removeClass('flexslider');
122                    $('#'+id).addClass('flexslider_destroy');
123                }
124            });
125        }
126        $('.module-main-slider .main-slider .post-info').removeClass('overlay'); */
127        // Main slider
128        /*if (typeof(main_slider) !== 'undefined') {
129            $.each( main_slider, function( index, id ) {		
130                $("#carousel_ctrl_"+id).flexslider({
131                    animation: 'slide',
132                    controlNav: false,
133                    animationLoop: true,
134                    slideshow: false,
135                    directionNav: true,
136                    itemWidth: 10,
137                    itemMargin: 0,
138                    maxItems: 5,
139                    minItems: 1,
140                    asNavFor: '#slider_'+id,
141                    nextText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "></polyline></svg>',
142                    prevText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "></polyline></svg>',
143                });
144                
145                $('#slider_'+id).flexslider({
146                    animation: 'fade',
147                    controlNav: false,
148                    animationLoop: true,
149                    slideshow: true,
150                    slideshowSpeed: 8000,
151                    animationSpeed: 600,
152                    smoothHeight: true,
153                    directionNav: true,
154                    nextText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "></polyline></svg>',
155                    prevText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "></polyline></svg>',
156                    sync: "#carousel_ctrl_"+id,
157                    after: function(slider) {
158                        if (!slider.playing) {
159                            slider.play();
160                        }
161                    } 
162                });
163            });
164        }*/
165        // Widget Slider 
166       /* $('.widget-slider .slider-wrap').flexslider({
167            animation: 'slide',
168            controlNav: false,
169            animationLoop: true,
170            slideshow: true,
171            pauseOnHover: true,
172            slideshowSpeed: 8000,
173            animationSpeed: 600,
174            smoothHeight: true,
175            directionNav: true,
176            nextText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "></polyline></svg>',
177            prevText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "></polyline></svg>',
178        });
179        $('.fullwidth-section .shadowfiend-carousel-wrap').flexslider({
180            animation: "slide",
181            controlNav: false,
182            itemWidth: 270,
183            columnWidth: 1,
184            pauseOnHover: true,
185            move: 1,
186            animationLoop: true,
187            slideshowSpeed: 8000,
188            animationSpeed: 600,
189            nextText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "></polyline></svg>',
190            prevText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "></polyline></svg>',
191            minItems: 1, // use function to pull in initial value
192            maxItems: 4, // use function to pull in initial value
193        });
194        $('.content-section .shadowfiend-carousel-wrap').flexslider({
195            animation: "slide",
196            controlNav: false,
197            itemWidth: 240,
198            columnWidth: 1,
199            pauseOnHover: true,
200            move: 1,
201            animationLoop: true,
202            slideshowSpeed: 8000,
203            animationSpeed: 600,
204            nextText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "></polyline></svg>',
205            prevText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "></polyline></svg>',
206            minItems: 1, // use function to pull in initial value
207            maxItems: 3, // use function to pull in initial value
208        });
209        $('.shadowfiend-carousel-large-wrap').flexslider({
210            animation: "slide",
211            controlNav: false,
212            itemWidth: 270,
213            columnWidth: 1,
214            pauseOnHover: true,
215            move: 1,
216            animationLoop: true,
217            slideshowSpeed: 8000,
218            animationSpeed: 600,
219            nextText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "></polyline></svg>',
220            prevText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "></polyline></svg>',
221            minItems: 1, // use function to pull in initial value
222            maxItems: 3, // use function to pull in initial value
223        });
224        $('#shadowfiend-gallery-slider').flexslider({
225            animation: 'slide',
226            controlNav: true,
227            animationLoop: true,
228            slideshow: false,
229            pauseOnHover: true,
230            slideshowSpeed: 5000,
231            animationSpeed: 600,
232            smoothHeight: true,
233            directionNav: true,
234            nextText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "></polyline></svg>',
235            prevText: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25px" height="50px" viewBox="0 0 49 77" xml:space="preserve"><polyline fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "></polyline></svg>',
236
237        }); 
238        $('.img-popup-link').magnificPopup({
239    		type: 'image',
240            removalDelay: 300,
241            mainClass: 'mfp-fade',
242    		closeOnContentClick: true,
243    		closeBtnInside: false,
244    		fixedContentPos: true,		
245    		image: {
246    			verticalFit: true
247    		}
248    	});
249        $('.video-popup-link').magnificPopup({
250    		closeBtnInside: false,
251    		fixedContentPos: true,
252    		disableOn: 700,
253    		type: 'iframe',
254            removalDelay: 300,
255            mainClass: 'mfp-fade',
256    		preloader: false,
257    	});
258        $('#shadowfiend-gallery-slider').each(function() { // the containers for all your galleries
259            $(this).magnificPopup({
260        		delegate: 'a.zoomer',
261        		type: 'image',
262        		closeOnContentClick: false,
263        		closeBtnInside: false,
264                removalDelay: 300,
265        		//mainClass: 'mfp-with-zoom mfp-img-mobile',
266                mainClass: 'mfp-fade',
267        		image: {
268                    tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
269        			verticalFit: true,
270        			titleSrc: function(item) {
271        				return ' <a class="image-source-link" href="'+item.src+'" target="_blank">'+ item.el.attr('title') + '</a>';
272        			}
273        		},
274        		gallery: {
275        			enabled: true,
276                    navigateByImgClick: true,
277                    preload: [0,1]
278        		}
279        	});	
280    	});  
281        if (typeof justified_ids !== 'undefined') {
282            $.each( justified_ids, function( index, justified_id ) {
283            	$(".justifiedgall_"+justified_id).justifiedGallery({
284            		rowHeight: 200,
285            		fixedHeight: false,
286            		lastRow: 'justify',
287            		margins: 4,
288            		randomize: false,
289                    sizeRangeSuffixes: {lt100:"",lt240:"",lt320:"",lt500:"",lt640:"",lt1024:""},
290            	});
291            });        
292        }
293        $('.zoom-gallery').each(function() { // the containers for all your galleries
294            $(this).magnificPopup({
295        		delegate: 'a.zoomer',
296        		type: 'image',
297        		closeOnContentClick: false,
298        		closeBtnInside: false,
299        		mainClass: 'mfp-with-zoom mfp-img-mobile',
300        		image: {
301                    tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
302        			verticalFit: true,
303        			titleSrc: function(item) {
304        				return ' <a class="image-source-link" href="'+item.el.attr('data-source')+'" target="_blank">'+ item.el.attr('title') + '</a>';
305        			}
306        		},
307        		gallery: {
308        			enabled: true,
309                    navigateByImgClick: true,
310                    preload: [0,1]
311        		},
312                zoom: {
313        			enabled: true,
314        			duration: 600, // duration of the effect, in milliseconds
315                    easing: 'ease', // CSS transition easing function
316        			opener: function(element) {
317        				return element.find('img');
318        			}
319        		}
320        	});	
321    	}); */
322        // Masonry Module Init
323        /*$('.page-wrap').imagesLoaded(function(){
324            setTimeout(function() {
325                if($('.masonry-content-container').find('.one-col').length > 2){
326                    $('.masonry-content-container').masonry({
327                        itemSelector: '.one-col',
328                        columnWidth: 1,
329                        isAnimated: true,
330                        isFitWidth: true,
331                     });
332                }
333                $('.ajax-load-btn').addClass('active');
334                $('.masonry-content-container').find('.post-details').removeClass('opacity-zero');
335                $('.masonry-content-container').find('.post-meta').removeClass('opacity-zero');
336             },500);
337        });*/
338        
339        /* Sidebar stick */    
340        /* var win, tick, curscroll, nextscroll; 
341        win = $(window);
342        var width = $('.sidebar-wrap').width();
343        tick = function() {
344            nextscroll = win.scrollTop();
345            $(".sidebar-wrap.stick").each(function(){
346                var bottom_compare, top_compare, screen_scroll, parent_top, parent_h, parent_bottom, scroll_status = 0, topab; 
347                var sbID = "#"+$(this).attr(("id"));
348                //var sbID = "#bk_sidebar_4";
349                //console.log(sbID);
350                bottom_compare = $(sbID).offset().top + $(sbID).outerHeight(true);
351                screen_scroll = win.scrollTop() + win.height();
352                parent_top = $(sbID).parents('.content-sb-section').offset().top;
353                parent_h = $(sbID).parents('.content-sb-section').height();
354                parent_bottom = parent_top + parent_h;
355                topab =  parent_h - $(sbID).outerHeight(true);                            
356                
357                if(window.innerWidth > 1023) {
358                    if(parent_h > $(sbID).outerHeight(true)) {
359                        //console.log(win.scrollTop()  + "  " +  (parent_bottom - $(sbID).outerHeight(true)) + "   " + scroll_status);
360                        if(win.scrollTop() < parent_top) {
361                            scroll_status = 0;
362                        }else if((win.scrollTop() >= parent_top) && (screen_scroll < parent_bottom)) {
363                            //console.log(curscroll+ "    "+nextscroll);
364                            if(curscroll <= nextscroll) {
365                                scroll_status = 1;
366                            }else if(curscroll > nextscroll) {
367                                scroll_status = 3;
368                            }
369                        }else if(screen_scroll >= parent_bottom) {
370                            scroll_status = 2;
371                        } 
372                        if(scroll_status == 0) {
373                            $(sbID).css({
374                                "position"  : "static",
375                                "top"       : "auto",
376                                "bottom"    : "auto"
377                            });
378                        }else if (scroll_status == 1) {
379                            if(win.height() > $(sbID).outerHeight(true)) {
380                                var ad_bar = $('#wpadminbar');
381                                if (fixed_nav == 2) {
382                                    if(ad_bar.length != 0) {
383                                        var sb_height_fixed = 16 + ad_bar.height() + $('.main-nav').height() + 'px';
384                                    }
385                                    else {
386                                        var sb_height_fixed = 16 + $('.main-nav').height() + 'px';
387                                    }
388
389                                }else {
390                                    if(ad_bar.length != 0) {
391                                        var sb_height_fixed = 16 + ad_bar.height() + 'px';
392                                    }else {
393                                        var sb_height_fixed = 16 + 'px';
394                                    }
395                                }
396                                $(sbID).css({
397                                    "position"  : "fixed",
398                                    "top"       : sb_height_fixed,
399                                    "bottom"    : "auto",
400                                    "width"     : width
401                                });
402                            }else {
403                                if (screen_scroll < bottom_compare) {
404                                    topab = $(sbID).offset().top - parent_top;                            
405                                    
406                                    $(sbID).css({
407                                        "position"  : "absolute",
408                                        "top"       : topab,
409                                        "bottom"    : "auto",
410                                        "width"     : width
411                                    });
412                                }else {
413                                    $(sbID).css({
414                                        "position"  : "fixed",
415                                        "top"       : "auto",
416                                        "bottom"    : "16px",
417                                        "width"     : width
418                                    });
419                                }
420                            }
421                        }else if (scroll_status == 3) {
422                            if (win.scrollTop() > ($(sbID).offset().top)) {
423                                topab = $(sbID).offset().top - parent_top;                            
424                                
425                                $(sbID).css({
426                                    "position"  : "absolute",
427                                    "top"       : topab,
428                                    "bottom"    : "auto",
429                                    "width"     : width
430                                });
431                            }else {
432                                var ad_bar = $('#wpadminbar');
433                                if (fixed_nav == 2) {
434                                    if(ad_bar.length != 0) {
435                                        var sb_height_fixed = 16 + ad_bar.height() + $('.main-nav').height() + 'px';
436                                    }
437                                    else {
438                                        var sb_height_fixed = 16 + $('.main-nav').height() + 'px';
439                                    }
440
441                                }else {
442                                    if(ad_bar.length != 0) {
443                                        var sb_height_fixed = 16 + ad_bar.height() + 'px';
444                                    }else {
445                                        var sb_height_fixed = 16 + 'px';
446                                    }
447                                }
448                                $(sbID).css({
449                                    "position"  : "fixed",
450                                    "top"       : sb_height_fixed,
451                                    "bottom"    : "auto",
452                                    "width"     : width
453                                });
454                            }
455                        }else if(scroll_status == 2) {
456                            if(win.height() > $(sbID).outerHeight(true)) {
457                                var status2_inner = 0;
458                                if(curscroll <= nextscroll) {
459                                    status2_inner = 1;
460                                }else if(curscroll > nextscroll) {
461                                    status2_inner = 2;
462                                }
463                                if(((status2_inner == 1) && (bottom_compare < parent_bottom)) || ((status2_inner == 2) && (win.scrollTop() < $(sbID).offset().top))){
464                                    var ad_bar = $('#wpadminbar');
465                                    if (fixed_nav == 2) {
466                                        if(ad_bar.length != 0) {
467                                            var sb_height_fixed = 16 + ad_bar.height() + $('.main-nav').height() + 'px';
468                                        }
469                                        else {
470                                            var sb_height_fixed = 16 + $('.main-nav').height() + 'px';
471                                        }
472    
473                                    }else {
474                                        if(ad_bar.length != 0) {
475                                            var sb_height_fixed = 16 + ad_bar.height() + 'px';
476                                        }else {
477                                            var sb_height_fixed = 16 + 'px';
478                                        }
479                                    }
480                                    $(sbID).css({
481                                        "position"  : "fixed",
482                                        "top"       : sb_height_fixed,
483                                        "bottom"    : "auto",
484                                        "width"     : width
485                                    });
486                                }else {
487                                    $(sbID).css({
488                                        "position"  : "absolute",
489                                        "top"       : topab,
490                                        "bottom"    : "auto",
491                                        "width"     : width
492                                    });
493                                }
494                            }else {
495                                $(sbID).css({
496                                    "position"  : "absolute",
497                                    "top"       : topab,
498                                    "bottom"    : "auto",
499                                    "width"     : width
500                                });
501                            }
502                        }      
503                    }
504                }   
505                $(sbID).parent().css("height", $(sbID).height());   
506            });
507            curscroll = nextscroll;
508        }
509        $(".sidebar-wrap.stick").each(function(){
510            $(this).wrap("<div class='shadowfiend-sticksb-wrapper'></div>");
511        });
512        delay(function () {
513            win.on("scroll", tick);
514        }, 2000);
515        win.resize(function(){
516            $(".sidebar-wrap.stick").each(function(){
517                var sbID = "#"+$(this).attr(("id"));
518                if(window.innerWidth > 1023) {
519                    if($(this).parent().hasClass('shadowfiend-sticksb-wrapper')){
520                        width = $('.shadowfiend-sticksb-wrapper').width();
521                        $(sbID).css({
522                            "width"     : width
523                        });
524                    }
525                }else {
526                    $(sbID).css({
527                        "position"  : "static",
528                        "top"       : "auto",
529                        "bottom"    : "auto"
530                    });
531                }  
532            });
533        });*/
534    });  
535})(jQuery);          

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.