PageSourceSearch

https://somoscooperativismo-ba.coop.br/assets/js/somoscoop/home-coop.js

js somoscooperativismo-ba.coop.br collected 2026-10-08 11:00:55 UTC 1,702 bytes, 38 lines download raw bytes

1$ = jQuery.noConflict();
2
3$(document).ready(function () {
4    $('.offcanvas-menu .offcanvas-inner ul.menu li a').click(function () {
5        $("a").removeClass("active");
6        $(this).toggleClass("active");
7    });
8
9    chamarCSS();
10    reorganizarItensBoxNovidades();
11
12    function chamarCSS() {
13        var protocolo = window.location.protocol;
14        var host = window.location.host;
15
16        var linkCss = protocolo + '//' + host + '/assets/css/somoscoop/home-coop.css';
17
18        $('head').append('<link rel="stylesheet" type="text/css" href="' + linkCss + '">');
19        $('head').find('title').text('SomosCoop');
20    }
21
22    function reorganizarItensBoxNovidades() {
23
24        $('.box-novidades')
25            .children('.sppb-addon-content')
26            .children('.sppb-row')
27            .children('.sppb-col-sm-3').each(function () {
28                var imagem = $(this).children('.sppb-addon-article').children('.sppb-article-img-wrap');
29                var titulo = $(this).children('.sppb-addon-article').children('.sppb-article-info-wrap').children('h3');
30                var meta = $(this).children('.sppb-addon-article').children('.sppb-article-info-wrap').children('.sppb-article-meta');
31                var metaData = $(this).children('.sppb-addon-article').children('.sppb-article-info-wrap').children('.sppb-article-meta').children('.sppb-meta-date');
32                var metaTag = $(this).children('.sppb-addon-article').children('.sppb-article-info-wrap').children('.sppb-article-meta').children('.sppb-meta-category');
33
34                $(this).append(imagem, meta, titulo)
35                $(this).children('.sppb-article-meta').append(metaTag, metaData)
36            });
37    }
38});

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.