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/lab.komma-mediadesign.nl/wwwroot/lab/js/main.js
$(document).ready(function(){

    /* Close Alert */
    $('.close','.alert').click(function()
    {
        var alert = $(this).parent();
        var h = ( $(alert).height() + parseInt($(alert).css('paddingTop')) + parseInt($(alert).css('paddingBottom')) ) * -1;
        $(alert).stop().animate({ top: h+'px' }, 200, function()
        {
            $(this).css({ display: 'block' });
        })
    })

    /*
     * Hidden Info
     */
    $('.hidden-info-holder').each(function(){
        var h = $(this).height();
        h = h*-1;
        var div = $('.hidden-info',this);
        $(div).css({ opacity: 1, top: h+'px' });
    })
});