TechLab (6 – 12 jaar)
Elke donderdagmiddag organiseert het Lexlab TechLab! Met iedere week een andere activiteit op het gebied van Technologie, Kunst, Cultuur of een mix hiervan. Kom je ook?!
Aanmelden via https://www.lexlab.nl/events/techlab-6-12-jaar-2024-09-05-15-00
Voor deze activiteit hoef je je niet aan te melden. Je kunt gewoon binnen lopen.
routebeschrijving
Toevoegen aan agenda
jQuery(document).ready(function($) {
let shareContainer = $('.fusion-social-networks');
// Get the current page URL
let pageURL = window.location.href;
// Create the "Copy" button with same styles
let copyButton = `
`;
// Append it to the social icons container
shareContainer.append(copyButton);
// Copy to clipboard function
$(document).on('click', '.copy-to-clipboard', function(event) {
event.preventDefault(); // Prevent default link behavior
let tempInput = $('');
$('body').append(tempInput);
tempInput.val(pageURL).select();
document.execCommand('copy');
tempInput.remove();
// Provide user feedback
let icon = $(this).find('i');
icon.attr('title', 'Copied!');
icon.css('background-color', '#28a745'); // Change background to green on success
// Reset after 2 seconds
setTimeout(() => {
icon.attr('title', 'Copy link');
icon.css('background-color', '#6c757d'); // Reset back to original
}, 2000);
});
});