Just include the script and jQuery in your website tag and call it on the elements you want to check. $('.dummy').viewportChecker({ classToAdd: 'visible', // Class to add to the elements when they are ...