HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/fvr.creativefellows.nl/public/js/app-min.js
$(document).foundation().ready((function(){$(document.links).filter((function(){return this.hostname!=window.location.hostname})).attr("target","_blank"),$(".lazy-load-image").Lazy({effect:"fadeIn",effectTime:500,enableThrottle:!0,throttle:250,afterLoad:function(){}}),$(".page-section__impression img").showAltDescription(),$(".page-section__impression img").enlargeImage()})),$.fn.enlargeImage=function(){return this.each((function(){var t,e=$(this),n=$('<div class="reveal full text-center" data-reveal data-animation-in="scale-in-up" data-animation-out="scale-out-down"><button class="close-button" data-close aria-label="Close modal" type="button"><span aria-hidden="true">&times;</span></button></div>'),a=$('<div class="show-large-image"></div>');e.init=function(){e.duplicate(),t=new Foundation.Reveal(n,{speed:500}),e.on("click",(function(){t.open()}))},e.duplicate=function(){var t=a.append(e.clone()).append("<figcaption>"+e.attr("alt")+"</figcaption>");n.append(t),n.insertAfter(e)},e.init()}))},$.fn.showAltDescription=function(){return this.each((function(){var t=$(this);t.init=function(){t.getAltText()&&t.replaceWith('<figure class="image-alt-text"><img src="'+t.getImage()+'" alt="'+t.getAltText()+'"><figcaption>'+t.getAltText()+"</figcaption></figure>")},t.getImage=function(){return t.attr("src")},t.getAltText=function(){return t.attr("alt")},t.init()}))};