Giter Club home page Giter Club logo

Comments (6)

pklauzinski avatar pklauzinski commented on August 15, 2024 1

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.

pklauzinski avatar pklauzinski commented on August 15, 2024

_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.

GJRamos87 avatar GJRamos87 commented on August 15, 2024

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.

GJRamos87 avatar GJRamos87 commented on August 15, 2024

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.

pklauzinski avatar pklauzinski commented on August 15, 2024

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 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 ..

β€”
Reply to this email directly or view it on GitHub
#17 (comment).

from jscroll.

GJRamos87 avatar GJRamos87 commented on August 15, 2024

cool .. i'll probably wind up doing that !

from jscroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.