background preloader

Hide your header on scroll - Headroom.js

Hide your header on scroll - Headroom.js
Downloads Note: the sizes shown are after gzipping. What's it all about? Headroom.js is a lightweight, high-performance JS widget (with no dependencies!) that allows you to react to the user's scroll. Why use it? Fixed headers are a popular approach for keeping the primary navigation in close proximity to the user. Large screens are usually landscape-oriented, meaning less vertical than horizontal space. Headroom.js allows you to bring elements into view when appropriate, and give focus to your content the rest of the time. How does it work? At it's most basic headroom.js simply adds and removes CSS classes from an element in response to a scroll event: Relying on CSS classes affords headroom.js incredible flexibility. Usage Using headroom.js is really simple. With plain JS Include the headroom.js script in your page, and then: var myElement = document.querySelector("header");var headroom = new Headroom(myElement);headroom.init(); With jQuery/Zepto $("#header").headroom(); With AngularJS Options Related:  HEADER & NAVJS plugins

Headhesive demo - Mark Goodyear Headhesive.js creates an on-demand sticky header. Specify where you want your header to become fixed and the rest is magic. Scroll to see it in action Soft southern pansy ne'ermind breadcake eeh gi' o'er be reet. Will 'e 'eckerslike tintintin ee by gum big girl's blouse nay lad shu' thi gob. Where there's muck there's brass tha daft apeth be reet. Bobbar ah'll learn thi ey up. Bobbar shu' thi gob a pint 'o mild any rooad god's own county tha daft apeth.

potomak/jquery-instagram @ GitHub Instagram jQuery plugin A simple jQuery plugin to show a list of Instagram photos. Instagram photos tagged with #hipster. Instagram photos at location 514276. Instagram photos at position (48.858844, 2.294351). License See LICENSE. Authors Giovanni Cappellotto (@johnnyaboh) Download You can download this project in either zip or tar formats. You can also clone the project with Git by running: $ git clone

KUTE.js | Javascript Animation Engine KUTE.js Download Github CDN 1 CDN 2 At A Glance Badass Performance KUTE.js is crazy fast with it's outstanding performance and super fast code execution, it's also memory efficient. Prefix Free KUTE.js can detect if the user's browser requires prefix and uses it accordingly mostly for transform, and even allows you to use the utilities yourself in your apps or your own plugins. All Browsers Compatible KUTE.js covers all modern browsers with fallback options for legacy browsers. Powerful Methods KUTE.js allows you to create tweens and chainable tweens, gives you tween control methods (start/stop/pause/resume) and comes with full spectrum tween options. Packed With Tools KUTE.js comes with a CSS Plugin, a SVG Plugin, an ATTR Plugin, a Text Plugin and a jQuery plugin, easing functions, color convertors, utility functions, and you can even extend it yourself. Plenty Of Properties MIT License You can develop with KUTE.js for free thanks to the MIT License terms. Top Notch Documentation Getting Started

jQuery Fly Side Menu by Pete R. | The Pete Design The standard Lorem Ipsum passage, used since the 1500s "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. 1914 translation by H. Section 1.10.33 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC

Zepto.js: the aerogel-weight jQuery-compatible JavaScript library The default build includes the following modules: Core, Ajax, Event, Form, IE. Zepto v1.0 used to bundle Effects, iOS3, and Detect modules in the default build. See below for optional modules. Zepto will only set the $ global to itself if it is not yet defined. There is no Zepto.noConflict method. If you need to support older browers, like Internet Explorer 9 and lower, you can fall back to jQuery 1.x. Note that some optional features of Zepto specifically target mobile browsers; as the original project goal was to specifically provide a leaner alternative to jQuery for the mobile web. Zepto is a good choice for browser extensions (for Safari, Chrome and Firefox) and to develop HTML-based views within native app frameworks, such as PhoneGap. In short, Zepto is expected to work in every modern browser and browser-like environment. zepto.js and zepto.min.js provided above can be used as-is. Core methods When an HTML string is given, use it to create DOM nodes. $.camelCase v1.0+ $.contains v1.0+

SweetAlert2 - an awesome and accessible (WAI-ARIA) replacement for JavaScript's popup boxes Normal alert alert('You clicked the button!') swal( 'Good job!', 'You clicked the button!', 'success' ) Pretty cool huh? More examples Download & install $ npm install sweetalert2 Or $ bower install sweetalert2 Or download from CDN: Usage 1. You can also include the stylesheet separately if desired: import swal from 'sweetalert2' const swal = require('sweetalert2') 2. Configuration Here are the keys that you can use if you pass an object into sweetAlert2: You can redefine default params by using swal.setDefaults(customParams). Handling Dismissals Modal Types Input Types Multiple inputs aren't supported, you can achieve them by using html and preConfirm parameters. Methods Collaborators Donations Has SweetAlert2 helped you create an amazing application? Contribute Feel free to fork SweetAlert2 on GitHub if you have any features that you want to add!

Multi-Level Push Menu v2.0.9, simpleWeather - a simple jQuery plugin Modaal is a WCAG 2.0 Level AA accessible modal plugin Fetches content from an existing element (using an ID) in the page and loads it into the content. If you would prefer your trigger element is not an <a href="#">, you can define a `content_source` value like so: Integer tincidunt. Quis gravida magna mi a libero. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed aliquam, nisi quis porttitor congue, elit erat euismod orci, ac placerat dolor lectus quis orci.

Inspiration for Article Intro Effects | Demo 1 We may define a food to be any substance which will repair the functional waste of the body, increase its growth, or maintain the heat, muscular, and nervous energy. In its most comprehensive sense, the oxygen of the air is a food; as although it is admitted by the lungs, it passes into the blood, and there re-acts upon the other food which has passed through the stomach. It is usual, however, to restrict the term food to such nutriment as enters the body by the intestinal canal. Many popular writers have divided foods into flesh-formers, heat-givers, and bone-formers. These last are not strictly foods, if we keep to the definition already given; but they are consumed with the true foods or nutrients, comprised in the other two classes, and cannot well be excluded from consideration. Water forms an essential part of all the tissues of the body. Mineral Matter or Salts, is left as an ash when food is thoroughly burnt. Flesh-formers, heat-givers, and bone-formers Soaking in cold water

20 jQuery Plugins for Scrolling Effects When it comes to designing and developing a website, web developers can’t underestimate the importance of a website scrolling. Nowadays designers are taking it up as a challenge and making website scrolling visually effective and eye catching for the visitors. For helping developers there are myriad of jquery scroll plugins are available which helps them to create certain scrolling effects which engage users with background reveals, element animation, and many more eye catching effects based on page scroll position. In this article I have gathered 20 jQuery Plugins that would help you to create outstanding scrolling effects for your websites. Following jQuery Scroll plugins lets you scroll any element for your website in the manner which makes your website beautiful, attractive and eye catching. 1. One Page Scroll, a jQuery plugin, simplifies creating such websites so easy.It requires minimal setup, just create your HTML structure, call the function and you are ready-to-go. 2. 3. 4. 5.