UIKit Modal
let el = ‘‘ + ‘ ‘ + ‘ ‘ + ‘ Welcome to tomsens+REKKO\’s new website ‘ + ‘‘ + ‘ Elite Web Labs has rebranded to tomsens+REKKO. ‘ + ‘ ‘ + ‘ ‘; if( document.referrer == ‘https://eliteweblabs.com’){…Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
let el = ‘‘ + ‘ ‘ + ‘ ‘ + ‘ Welcome to tomsens+REKKO\’s new website ‘ + ‘‘ + ‘ Elite Web Labs has rebranded to tomsens+REKKO. ‘ + ‘ ‘ + ‘ ‘; if( document.referrer == ‘https://eliteweblabs.com’){…Continue reading
document.addEventListener(“DOMContentLoaded”, function () { const filterItems = document.querySelectorAll(‘.vc_grid-filter-item’); filterItems.forEach((item, index) => { item.setAttribute(‘tabindex’, ‘0’); // Fokusierbar per Tab item.setAttribute(‘role’, ‘button’); // Semantik: Rolle als Button item.setAttribute(‘aria-pressed’, item.classList.contains(‘vc_active’) ? ‘true’ : ‘false’); item.setAttribute(‘aria-label’, item.textContent.trim()); // Tastaturbedienung (Enter oder Leertaste) item.addEventListener(‘keydown’, function…Continue reading
document.addEventListener(‘om.Campaign.load’, function(event) { const queryString = window.location.search; // capture all query args // Registers a custom `query_args` smart tag that outputs all query args from the current page. event.detail.Campaign.Dtr.setCustomVariable(‘query_args’, queryString); });Continue reading
document.addEventListener(‘om.Campaign.load’, function(event) { const queryString = window.location.search; // capture all query args // Registers a custom `query_args` smart tag that outputs all query args from the current page. event.detail.Campaign.Dtr.setCustomVariable(‘query_args’, queryString); });Continue reading
document.addEventListener(‘om.Styles.positionPopup’, function(event) { const campaign_selector = “#om-” + event.detail.Campaign.id + “-” + event.detail.Campaign.view; $(campaign_selector).dragon(); } );Continue reading
document.addEventListener(‘om.Styles.positionPopup’, function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is passed the Styles object console.log(event.detail.Styles); } );Continue reading
document.addEventListener(‘om.Campaign.reset’, function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );Continue reading
document.addEventListener(‘om.Action.refresh’, function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is passed the Action object console.log(event.detail.Action); } );Continue reading
document.addEventListener(‘om.Action.window’, function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is passed the Action object console.log(event.detail.Action); } );Continue reading
// Function SaveToDisk forces file download instead of viewing in browser function SaveToDisk(fileURL, fileName) { // for non-IE if (!window.ActiveXObject) { var save = document.createElement(‘a’); save.href = fileURL; save.target = ‘_blank’; save.download = fileName || ‘unknown’; var event = document.createEvent(‘Event’);…Continue reading