Merge remote-tracking branch 'origin/feature/priems' into dev

# Conflicts:
#	modules_data/_umenie.php
This commit is contained in:
2023-01-28 04:50:21 +02:00
6 changed files with 252 additions and 150 deletions
+14
View File
@@ -60,6 +60,20 @@ function himove(e) {
$('#ttl').css({'top': `${y}px`, 'left': `${x}px`});
}
function popup(element, content, width = 230) {
let el_offset = $(element).offset()
let popup = $('#ttl');
popup.html(content);
popup.css({
'display': 'block',
'top': el_offset.top + 20 + 'px',
'left': el_offset.left + 40 + 'px',
'width': width + 'px'
});
}
function hi(el, txt, e, tp, st, sm, fm, css) {
if (!e) e = window.event;
top.xyfmn = [el, txt, e, tp, st, sm, fm, css];