One page themes which use a different parallax scrolling effect to zoom down or up to the right spot on a very long single page site are also becoming more commonplace. Parallax scrolling is therefore a technique being more frequently used on modern web designs to move text, images and more, around a web page frame to create interesting visual movement where it is needed. Parallax means to change position of an object. 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.The term Parallax is derived from the Greek word, parallaxis, which gives some indication to its meaning. 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. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 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: Please use the following command: uglifyjs parallax.js -comments -m -c -o LICENSE This project uses uglifyjs to perform code compression. If you have a pull request you would like to submit, please ensure that you update the minified version of the library along with your code changes. The parallax mirror will be prepended into this container. (Experimental) If true, will freeze the parallax effect when "over scrolling" in browsers like Safari to prevent unexpected gaps caused by negative scroll positions. Disable this if you wish to enable the parallax scrolling effect on Android devices. If true, this option will set the parallax image as a static, centered background image whenever it detects an Android user agent. Disable this if you wish to implement your own graceful degradation. If true, this option will set the parallax image as a static, centered background image whenever it detects an iOS user agent. IOS devices are incompatable with this plugin. This can hide slow or stuttering scroll events in certain browsers. You can optionally set the parallax mirror element to extend a few pixels above and below the mirrored element. By default these will be behind everything else on the page. The z-index value of the fixed-position elements. 0.0 means the image will appear fixed in place, and 1.0 the image will flow at the same speed as the page content. The speed at which the parallax effect runs. The parallax image will be positioned as close to these values as possible while still covering the target element. Specify coordinates as top, bottom, right, left, center, or pixel values (e.g. This is analogous to the background-position css property. You can provide the natural width and natural height of an image to speed up loading and reduce error when determining the correct aspect ratio of the image. You must provide a path to the image you wish to apply to the parallax effect. Note that when specifying these options as html data-attributes, you should convert "camelCased" variable names into "dash-separated" lower-case names (e.g. For data attributes, append the option name to data-, as in data-image-src="". Options can be passed in via data attributes of JavaScript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |