PageSourceSearch

https://www.therobinsonnest.com/wp-content/themes/smash_theme/smas…/single_quick_links/single_quick_links.js

js therobinsonnest.com collected 2026-09-27 02:25:06 UTC 868 bytes, 30 lines download raw bytes

1jQuery(function($){
2    function positionLinks(){
3        var links = $('.quick-links');
4        var linksH = links.height();
5        var images = $('.entry-content img');
6        var setImg = null;
7        var setImgP = null;
8        var setImgT = null;
9        var setImgH = null;
10
11        images.each(function(index){
12            let isFlexImg = $(this).parent().hasClass('flex_row')
13            if($(this).height() > linksH && index != 0 && !isFlexImg){
14                setImg = $(this);
15                setImgP = setImg.position();
16                setImgT = setImgP.top;
17                setImgH = setImg.height();
18                
19                return false;
20            }
21        });
22
23        $('.quick-links').css({top: (setImgH / 2) + setImgT - (linksH / 2)});
24    }
25    positionLinks();
26
27    $(window).resize(function(){
28        positionLinks();
29    });
30});

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.