Comments (6)
That sounds like something that would better be accomplished on the server.
One ajax for the scrolling with pagination, and a separate call from the
clicked button that loads all contents.
On Thu, Oct 9, 2014 at 8:40 AM, GJRamos87 [email protected] wrote:
So i need the jscroll to be able to work two ways .. with scroll as well
as with a button click .. but if the button is click i need all the
fragments to load with one click is this even possible without touching the
library?β
Reply to this email directly or view it on GitHub
#17 (comment).
from jscroll.
_load()
is a private method and is triggered upon scrolling or on click of nextSelector
link. It is not intended to be called directly.
from jscroll.
So i need the jscroll to be able to work two ways .. with scroll as well as with a button click .. but if the button is click i need all the fragments to load with one click is this even possible without touching the library?
from jscroll.
wow thanks a million for your response pklauzinski ..
sounds like i need to go with a different approach then for my project .. i was hoping there was a way to incorporate both options without a conflict .. here's the reason if you even care lol
i have one page which loads a bunch of offers and i have two sorting options
First option is pricing (lowest to highest) which is easy i can leave the scroll in place and not touch it
Second option is a-z so now i need to request all the offers then sort after the ajax is done ...
i may have to re-factor how the page renders when loading a-z then if i go with your recommended approach ..
from jscroll.
Sure, no problem. You can also add multiple instances of jscroll with
different options on one page, if that helps.
On Thu, Oct 9, 2014 at 1:06 PM, GJRamos87 [email protected] wrote:
wow thanks a million for your response pklauzinski ..
sounds like i need to go with a different approach then for my project ..
i was hoping there was a way to incorporate both options without a conflict
.. here's the reason if you even care loli have one page which loads a bunch of offers and i have two sorting
optionsFirst option is pricing (lowest to highest) which is easy i can leave the
scroll in place and not touch itSecond option is a-z so now i need to request all the offers then sort
after the ajax is done ...i may have to re-factor how the page renders when loading a-z then if i go
with your recommended approach ..β
Reply to this email directly or view it on GitHub
#17 (comment).
from jscroll.
cool .. i'll probably wind up doing that !
from jscroll.
Related Issues (20)
- click trigger isnΒ΄t disabled
- Issue with JScroll
- Callback to tell if there are more pages HOT 1
- Button Trigger Example HOT 1
- Can't have multiple jscrolls on page HOT 1
- contentSelector load all DOM
- change url - SEO
- Parceljs
- _load not triggered when page is zoomed in or out at certain levels HOT 3
- jscroll does not load the new content all the time HOT 4
- is there a vinilla js alternative? HOT 1
- Add Support for Error Callback HOT 1
- Support sending URL params. HOT 2
- Not working on mobile HOT 2
- documentation - detecting and destroying jscroll
- jscroll is not a function HOT 1
- loadingHtml not workig correctly with pjax
- CSS display problens
- HOw to impememnt a link or button to load manually the content
- page formatting messing up nextSelector href HOT 1
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 jscroll.