HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/sportivo.komma.pro/wwwroot/js/colleagues.js
/**
 * Created by Pascal on 05/11/15.
 */

//Creates the pop up for the colleague page
$('.colleague-holder').click(function(){
    $('.popup-holder').removeClass('active');
    $('#popUp-'+$(this).attr('id')).addClass('active');
    $('.popUp').addClass('active');

});

//Remove the pop up for the colleague page
$('.popUp').click(function(){
    $('.popUp').removeClass('active');
});


//Prevent if click inside the content of the popup
$('.popup-holder').click(function(){
   return false;
});

//Remove the pop up for the colleague page (close button)
$('.popup-holder .close').click(function(){
    $('.popUp').removeClass('active');
});