Return to site

Jquery.scrolly V1.0.0-dev C Ajlkn Mit Licensed

broken image


Adds slick new scroll events to jQuery (like enter and leave) so you can drop scrolling effects like a boss. Requires jQuery 1.11+.

  1. Jquery.scrolly V1.0.0-dev C Ajlkn Mit Licensed Medical
  2. Jquery.scrolly V1.0.0-dev C Ajlkn Mit Licensed Board
  3. Jquery.scrolly V1.0.0-dev C Ajlkn Mit Licensed Program

Usage

  1. Juts playing around with GitLab Pages.
  2. Created on Plnkr: Helping developers build the web.

Cisco 3750 ios image download for gns3. 初めてWatson IoT Platformを使ってみよう、というかたのためのガイドです。 Watson IoT Platformを使ってみるでIoTアプリを使ってみました。 Node-REDでシンプルなウェブサイトを作ってみる.

Load up jquery.scrollex.min.js (after jQuery):

Then call scrollex() on a selector with a configuration object, which is where you'll associate handlers with the events you want to use and set various Scrollex options (see Configuration Reference below). For example, this uses the enter and leave events to change the background color of #foobar to green when we scroll within its boundaries (its contact area), then back again when we scroll out of it:

Events

Scrollex supports the following events:

enter

Jquery.scrolly V1.0.0-dev C Ajlkn Mit Licensed Medical

Triggered when the viewport enters an element's contact area. Behavior can be tweaked using the mode, top, and bottom options (see next section).

leave

Triggered when the viewport leaves an element's contact area. Behavior can be tweaked using the mode, top, and bottom options (see next section).

initialize

Triggered as soon as scrollex() is called on an element.

terminate

Triggered as soon as unscrollex() is called on an element, which is used to gracefully undo a previous scrollex() call.

scroll

Triggered as the viewport scrolls through an element. The handler associated with this event is called with a normalized value representing how far the viewport has scrolled through the element (between 0 and 1, although values outside this range are possible if the viewport is above or below the element). For example:

mode, top, and bottom

Jquery.scrolly v1.0.0-dev c ajlkn mit licensed program

http://mossknocafce1985.mystrikingly.com/blog/what-is-auto-tune-pro. Events that depend on the viewport's position relative to an element's contact area (currently just enter and leave) can be further tweaked using the mode, top, and bottom options.

mode

This determines the rules Scrollex uses to figure out when the viewport is considered 'inside' or 'outside' an element's contact area. Can be any of the following:

ValueBehavior
defaultElement's contact area must fall within the viewport.
topTop viewport edge must fall within the element's contact area.
bottomBottom viewport edge must fall within the element's contact area.
middleMidpoint between top/bottom viewport edges must fall within the element's contact area.
Licensed

http://mossknocafce1985.mystrikingly.com/blog/what-is-auto-tune-pro. Events that depend on the viewport's position relative to an element's contact area (currently just enter and leave) can be further tweaked using the mode, top, and bottom options.

mode

This determines the rules Scrollex uses to figure out when the viewport is considered 'inside' or 'outside' an element's contact area. Can be any of the following:

ValueBehavior
defaultElement's contact area must fall within the viewport.
topTop viewport edge must fall within the element's contact area.
bottomBottom viewport edge must fall within the element's contact area.
middleMidpoint between top/bottom viewport edges must fall within the element's contact area.

Jquery.scrolly V1.0.0-dev C Ajlkn Mit Licensed Board

top and bottom

These let you 'pad' the edges of an element's contact area using either a pixel value (150) a percentage of that element's height (25%), or a percentage of the viewport's height (20vh). Positive values work inward and shrink the contact area, while negative values work outward and expand the contact area. For example, this expands the contact area of #foobar by 20% of its height in both directions, resulting in enter triggering a bit earlier and leave a bit later:

Configuration Reference

NameTypeDefaultDescription
enterfunctionnullEnter event.
leavefunctionnullLeave event.
initializefunctionnullInitialize event.
terminatefunctionnullTerminate event.
scrollfunctionnullScroll event.
modestringdefaultMode (default, top, bottom, or middle).
topinteger, string0Top padding (in pixels, %, vh).
bottominteger, string0Bottom padding (in pixels, %, or vh).
delayinteger0Delay (in ms) between position checks.

License

Scrollex is released under the MIT license, so go nuts.

Copyright © @ajlkn

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Jquery.scrolly V1.0.0-dev C Ajlkn Mit Licensed Program

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.





broken image