input.php/output.php: modul ein- und ausgabe, um html/scripte bei consent nachzuladen
module.js: lädt html/scripte des moduls bei consent ohne reload nach
function trapFocus(element) { | |
'use strict'; | |
var focusableEls = element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'); | |
var firstFocusableEl = focusableEls[0]; | |
var lastFocusableEl = focusableEls[focusableEls.length - 1]; | |
var KEYCODE_TAB = 9; | |
element.addEventListener('keydown', function (e) { | |
var isTabPressed = (e.key === 'Tab' || e.keyCode === KEYCODE_TAB); |
input.php/output.php: modul ein- und ausgabe, um html/scripte bei consent nachzuladen
module.js: lädt html/scripte des moduls bei consent ohne reload nach
RewriteRule ^/?media/(.*)$ /index.php?ycom_file=$1 [L] | |
# RewriteRule ^/?media/(.*\.(pdf|doc|zip))$ /index.php?ycom_file=$1 [L] |