PageSourceSearch

https://odmage.com/wp-content/themes/odmage/js/topRight.js

js odmage.com collected 2026-10-07 23:27:18 UTC 1,891 bytes, 51 lines download raw bytes

1(function ($) {
2    'use strict';
3
4    $.noty.layouts.topRight = {
5        name: 'topRight', // Название макета
6        options: {}, // Переопределяемые опции
7
8        // Контейнер для уведомлений
9        container: {
10            object: '<ul id="noty_topRight_layout_container" />', // HTML-элемент контейнера
11            selector: 'ul#noty_topRight_layout_container', // Селектор контейнера
12            style: function () {
13                // Стили для контейнера
14                $(this).css({
15                    top: 20,
16                    right: 20,
17                    position: 'fixed',
18                    width: '310px',
19                    height: 'auto',
20                    margin: 0,
21                    padding: 0,
22                    listStyleType: 'none',
23                    zIndex: 10000000
24                });
25
26                // Адаптация для мобильных устройств
27                if (window.innerWidth < 600) {
28                    $(this).css({
29                        right: 5
30                    });
31                }
32            }
33        },
34
35        // Родительский элемент для каждого уведомления
36        parent: {
37            object: '<li />', // HTML-элемент родителя
38            selector: 'li', // Селектор родителя
39            css: {} // Дополнительные стили для родителя
40        },
41
42        // Стили для уведомлений
43        css: {
44            display: 'none', // Скрыть по умолчанию
45            width: '310px' // Ширина уведомления
46        },
47
48        // Дополнительные классы для уведомлений
49        addClass: ''
50    };
51})(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.