All Projects → sutara79 → jquery.simple-scroll-follow

sutara79 / jquery.simple-scroll-follow

Licence: other
jQuery plugin to move the element according to the scrolling window.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to jquery.simple-scroll-follow

jsontree
jQuery plugin for JSON visualization
Stars: ✭ 14 (-58.82%)
Mutual labels:  jquery-plugin
LineProgressbar
A light weight jquery progressbar plugin
Stars: ✭ 34 (+0%)
Mutual labels:  jquery-plugin
Github-Contribution-Graph
Jquery plugin to render like contribution graph on Github.
Stars: ✭ 43 (+26.47%)
Mutual labels:  jquery-plugin
tabullet
Simple jQuery plugins for creating a table that can insert, edit, and delete row in one place.
Stars: ✭ 13 (-61.76%)
Mutual labels:  jquery-plugin
jquery-asColorPicker
ColorInput is a jQuery plugin used to show color picker for a input field.
Stars: ✭ 18 (-47.06%)
Mutual labels:  jquery-plugin
natural js
Natural-JS : Javascript Front-End Architecture Framework
Stars: ✭ 35 (+2.94%)
Mutual labels:  jquery-plugin
jquery-svg
A jQuery plugin to apply css styles and js scripts to a SVG which is embedded (using the <object> tag).
Stars: ✭ 28 (-17.65%)
Mutual labels:  jquery-plugin
personJudge
personJudge System 网站预览---->http://47.106.235.227 (账号111,密码12345) 后端:SpringBoot/JPA/mysql/cache/前后端分离(nginx做静态转发)/swagger 前端:bootstrap+Jquery及其插件:jquery-cookie,toastr,steps,validate,wnumb,nouislider,DataTables,layer,chosen,echarts
Stars: ✭ 35 (+2.94%)
Mutual labels:  jquery-plugin
jquery-microdata
jQuery plugin for HTML Microdata
Stars: ✭ 13 (-61.76%)
Mutual labels:  jquery-plugin
jquery-steps
✅ Lightweight jQuery step wizard plugin.
Stars: ✭ 93 (+173.53%)
Mutual labels:  jquery-plugin
dom-navigator
⚓️ JS library that allow keyboard navigation through DOM elements (←↑→↓).
Stars: ✭ 36 (+5.88%)
Mutual labels:  jquery-plugin
jquery.skeleton.loader
A jQuery plugin to make screen skeleton loader.
Stars: ✭ 65 (+91.18%)
Mutual labels:  jquery-plugin
jquery-xhr-upload-queue
📂 A jQuery queued file uploading plugin.
Stars: ✭ 17 (-50%)
Mutual labels:  jquery-plugin
jquery-load-json
jQuery plugin that enables developers to load JSON data from the server and load JSON object into the DOM
Stars: ✭ 26 (-23.53%)
Mutual labels:  jquery-plugin
leaflet-locationpicker
Simple location picker on Leaflet map
Stars: ✭ 31 (-8.82%)
Mutual labels:  jquery-plugin
hierarchy-select
Hierarchy Select jQuery Plugin for Twitter Bootstrap
Stars: ✭ 40 (+17.65%)
Mutual labels:  jquery-plugin
jquery.random-fade-in
jQuery plugin to fade-in at random.
Stars: ✭ 13 (-61.76%)
Mutual labels:  jquery-plugin
menu
基于jQuery的轻量级响应式菜单插件
Stars: ✭ 18 (-47.06%)
Mutual labels:  jquery-plugin
image-uploader
Simple Drag & Drop image uploader plugin to static forms, without using AJAX
Stars: ✭ 70 (+105.88%)
Mutual labels:  jquery-plugin
jQuery-plugins
jQuery-plugins
Stars: ✭ 36 (+5.88%)
Mutual labels:  jquery-plugin

jquery.simple-scroll-follow

npm version Build Status

jQuery plugin to move the element according to the scrolling window.

Sample image

Demo

https://sutara79.github.io/jquery.simple-scroll-follow/

Install

  • GitHub: Clone or download.
  • npm: npm i jquery.simple-scroll-follow
  • CDN (jsDelivr):
    • jquery.simple-scroll-follow.min.js: v3.1.2

Usage

HTML
<div id="foo">Element to follow</div>

<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="jquery.simple-scroll-follow.min.js"></script>
CSS
body {
  background: url(null) fixed; /* for Google Chrome */
}

#foo {
  position: absolute;
}
JavaScript
$('#foo').simpleScrollFollow();

Option

name type default description
limit_elem Object, string $('body') An element that indicates lower limit to scroll
min_width number 0 Minimum window width to enable this plugin
enabled boolean true Enable scroll or not
upper_side string null An fixed element that indicates upper limit to scroll
lower_side string null An fixed element that indicates lower limit to scroll

Public Method

(since v3.0.0)

For the details, see documentation.

.setEnabled()

Parameter
No. type default description
1 boolean true true: this plugin resumes.
false: this plugin stops.

License

MIT

Author

Yuusaku Miyazaki ( [email protected] )

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].