PageSourceSearch

https://jannineweigelofficial.com/wp-content/themes/rockit2-0/assets/scripts/functions.js

js jannineweigelofficial.com collected 2026-10-02 19:32:14 UTC 1,327 bytes, 44 lines download raw bytes

1// Responsive Menu
2
3jQuery(document).ready(function () {
4    jQuery('.navigation>ul').slicknav();
5});
6/*-------
7 *  Likes counter toggle Function
8 --------------------------------------------------------------------------- */
9
10function px_post_likes_count(admin_url, id) {
11    "use strict";
12    var dataString = 'post_id=' + id + '&action=px_post_likes_counts';
13    jQuery("#post_likes" + id).html('<i class="icon-spinner8 fa-spin"></i>');
14    jQuery.ajax({
15        type: "POST",
16        url: admin_url,
17        data: dataString,
18        success: function (response) {
19            if (response != 'error') {
20                jQuery("#post_likes" + id).html(response);
21                jQuery("#post_likes" + id).removeAttr("onclick");
22            } else {
23                jQuery("#post_likes" + id).html(' There is an error.');
24            }
25
26        }
27    });
28    return false;
29}
30
31// Menu Items Limit
32
33var maxItems = 8; // Change Number of Items here
34var totalItems = jQuery('.navigation>ul').find('>li').length;
35if (totalItems > maxItems) {
36    jQuery('.navigation>ul>li:nth-child(' + maxItems + ') ~ li').wrapAll('<li></li>').wrapAll('<ul class="sub-dropdown"></ul>');
37    jQuery('.navigation>ul>li:last-child').prepend('<a href="#">More</a>');
38}
39
40
41jQuery(document).ready(function ($) {
42    jQuery(".wrapper").fitVids();
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.