THE HOME OF EXCLUSIVE UNDERGROUND MUSIC

YOU CAN’T GET ANYWHERE ELSE ONLINE

MELTDOWN

RECORDS

NEW ZEALAND BASED RECORD LABEL AND HOME OF EXCLUSIVE UNDERGROUND MUSIC

BUY EXCLUSIVE UNDERGROUND MUSIC

YOU CAN’T GET ANYWHERE ELSE

Copyright Meltdown Music Limited 2020 | Terms & Conditions | Privacy Policy

function myFunction() { var $animation_elements = jQuery('.et-waypoint'), $window = jQuery(window); function check_if_in_view() { var window_height = $window.height(), window_top_position = $window.scrollTop(), window_bottom_position = (window_top_position + window_height); $animation_elements.each(function() { var $element = jQuery(this), element_height = $element.outerHeight(), element_top_position = $element.offset().top, element_bottom_position = (element_top_position + element_height); //check to see if this element is within viewport if ((element_bottom_position >= window_top_position) && (element_top_position <= window_bottom_position)) { $element.addClass('et-animated'); } else { $element.removeClass('et-animated'); } }); } $window.on('scroll resize', check_if_in_view); } window.onload = myFunction;