Comments (14)
You might be able to achieve what you want by using the 'target' option.
from scrollify.
target
is not documented, telling from source, it seems that it defines the (overflow:visible) element in which the conentent will scroll. which may be not what @alberto2000 want.
actually, i think i have the same necessity as @alberto2000 , i need to have half-of-screen of content on page and snappable blocks below, so snappable behavior starts from specific height. haven't found a solution yet.
from scrollify.
@altmind yeah, when I made that comment I forgot that target
was still a developmental feature.
This functionality won't be coming to Scrollify any time soon. It may be best to look for an alternative plugin for now.
from scrollify.
@alberto2000 You can manage them defining different section name. For left part define all section name to 'left-section' and for right part define all section name to 'right-section' and call scrollify for both.
from scrollify.
@bini7a That won't work, Scrollify scrolls the window, not the document.
from scrollify.
@lukehaas I thought both part has scroll bar. Doesn't that work even?
Shouldn't it be updated to be more friendly for that?
from scrollify.
+1 to allow containers other than window
from scrollify.
I'm happy for this feature to be added to Scrollify if anyone wants to contribute.
from scrollify.
I'd be glad to contribute - @lukehaas if you could give me some indication on which parts may need refactoring or just a short crash course into the architecture of the plugin? From very first telling I'd just go and replace all references to $window with the new, configurable target element and go from there?
from scrollify.
@alberto2000 It could be as straight forward as that.
In Scrollify currently mouse scroll events are attached to the window and touch events are attached to the document, (can't remember why the difference now). The scroll animation is applied to "html,body".
Getting all those to point to a configurable reference is the best place to start.
from scrollify.
On it, will make a PR asap
from scrollify.
PR submitted #158
from scrollify.
@alberto2000 thanks I'll take a look soon.
from scrollify.
@lukehaas what about #158 - also it'd be good if some could test it and report any feedback
from scrollify.
Related Issues (20)
- scroll not working in mobile(google chrome & firefox) HOT 1
- Delay before scrolling in some devices HOT 1
- Disable scroll on mobile but keep "instant move" buttons
- After editing site (removing sections), pagination still has the previous sections
- Scrollify on MacOS Safari rubber banding. HOT 1
- Scroll down arrow
- Disable mousewheel during scrolling HOT 18
- BUG IN CELLPHONE VIEW - FORM FIELDS HOT 2
- Scorllify Jerk Issues in Mobile Devices HOT 1
- Scrolling not smooth. HOT 6
- Mozilla Bug - Console Message
- How do I scroll to the top with resetting Scrollify? HOT 5
- overflowScroll: true not working HOT 1
- setHeights: true doesn't seem to work properly HOT 1
- Clicking the scroll button, you go to the next section but then bounce back
- No scrollify for some section HOT 3
- Is Layered scrollify sections with same background image possible? HOT 5
- Scrollify very slow HOT 3
- Allow free scroll on bigger container
- When I click search bar not redirect to page because scrollify script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrollify.