Javascript Scroll Tutorial Load Dynamic Content Into Page When User Reaches Bottom Ajax

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 108

  • @conan_ft
    @conan_ft 3 роки тому +2

    i cant believe a video from over 9 years ago actually helped me

  • @MatinKhaleghi00
    @MatinKhaleghi00 4 роки тому

    This video for 8years ago but really helped me . Thanks

  • @whamalek
    @whamalek 10 років тому +7

    Learned a lot... a lot... a lot from you Adam.
    I loved Javascript because of you.

  • @lenfarneth
    @lenfarneth 12 років тому

    This is exactly what I needed. Not real sure how to set up the queries to display just the records I need and not pull everything all at once, but I guess if I play with it a while it will all make sense. Thanks.

  • @delaruepcf
    @delaruepcf 5 років тому

    Thanks Adam
    Seldom seen a tutorial so straight and comprehensive. My compliments !!

  • @mobinshah1
    @mobinshah1 10 років тому

    Best Tutorial I have ever seen for lazy Load

  • @anuraariyaratne4977
    @anuraariyaratne4977 Рік тому +1

    This is really nice explanation

  • @Gapbrick
    @Gapbrick 11 років тому

    Currently working on a social network with blogging function and that helped me a lot! Thank you Adam!

  • @dragonore2009
    @dragonore2009 10 років тому

    This works well with the pop up for featured content you see sometimes on websites when you scroll down a bit, just small modifications are needed. Thanks Adam.

  • @ikehakinyemi
    @ikehakinyemi 4 роки тому

    This was extremely help and easy to grasp. Even though I haven't used the dimension DOM and BOM properties before.

  • @GilbertBigelow
    @GilbertBigelow 10 років тому

    Adam, thanks for the lesson and the pointer to find this video here.

  • @bryangluce
    @bryangluce 10 років тому +1

    "in a smart modern way... **BELCH!!!**" great way to get my attention :)

  • @anthonyzornig
    @anthonyzornig 3 роки тому

    I enjoy your style! Hopefully you will be able to do some in the future again.

  • @ViktorWahlberg
    @ViktorWahlberg 12 років тому

    Really great tutorial. Never really like tutorials overall, but this one I found very interesting and I learned the window.pageYOffset. That what new to me. Thanks!

  • @bestqsystems7740
    @bestqsystems7740 9 років тому

    Hahahaha this guy makes someone to laugh.... the way you have introduced the video makes happy .... thanks adam for your tutorials they are great

  • @escapethebotnet
    @escapethebotnet 9 років тому +5

    Lol am I the only one that got caught off guard with that burp. I died laughing

  • @SiyaNtombela
    @SiyaNtombela 8 років тому +1

    Brilliant explanation!

  • @ArmanJC
    @ArmanJC 8 років тому +37

    Can you make a tutorial on how to burp??

  • @mecos9
    @mecos9 11 років тому +5

    "In a smart, modern way... ERRRRRRRP." LOL!

  • @vinzodarp8543
    @vinzodarp8543 10 років тому

    GREAT TUTORIAL AGAIN. THANKS MAN

  • @gabrielraphaelgarciamontoy1269
    @gabrielraphaelgarciamontoy1269 6 років тому

    This was super helpful! Thank you! You explained everything really well and LOLLL @ "you know what i mean mayne"

  • @codewithsub5083
    @codewithsub5083 8 років тому

    very nice tutorial, Exactly the same I was looking for!

  • @rakeshkumarark
    @rakeshkumarark 12 років тому

    Adam thank you for this video.

  • @kkletsweletse
    @kkletsweletse 12 років тому

    Bravo Adam, your tutorials are always the best. Could you pls do a tutorial for PHP report printing. Lets say one want to print database report.

  • @gntvict
    @gntvict 9 років тому

    Just recently stumbled on your stuff... cant stop learning from it all... good stuff... have learned alot... more to go. was curious which code editor u use. I like the programed buttons on the left...

  • @Korupshenv1
    @Korupshenv1 11 років тому

    You da man Adam. YOU DA MAN!!!

  • @Coffeeandpodcast
    @Coffeeandpodcast 7 років тому

    thank you so much. It really helped me.

  • @Vidyut444
    @Vidyut444 8 років тому

    very useful tutorial.. thanks

  • @RobertDannelly
    @RobertDannelly 9 років тому

    Adam, awesome tutorial. Very well done. Although I am a ASP.NET developer this will work for me. Great friendly, kind and (I want to help my fellow developer) tone. You did a great job. Thumbs up.

  • @easternhair
    @easternhair 6 років тому

    could u make a tutorial on loading large JSON data in portions, please, load dynamically when page is scrolling down,
    thanks lot, great tutorials

  • @tarkdemiryurek5732
    @tarkdemiryurek5732 6 років тому

    I liked + subscribed!! I found what I'm looking for!! :))

  • @DafleSantos
    @DafleSantos 7 років тому

    simple and fantastic

  • @alexandertzoy5789
    @alexandertzoy5789 11 років тому

    Great Tutorial!
    reminds me of 9gag :)

  • @deshi2010desh
    @deshi2010desh 11 років тому +1

    i think this will slow down the webpage as every time user scroll down on webpage the whole page gets loaded with extra content. tell us a way to not effect the already loaded content and only load new content

  • @jointzhou6835
    @jointzhou6835 8 років тому +1

    Thanks dude, the tutorial was great but how to load different content each time like lazyload images when users hit the bottom? the ajax cannot be the same all the time, is there anything need to be down on the server side?

  • @fwalson
    @fwalson 11 років тому

    Hey...thanks so much for the great video! Question: How do you stop it after there is no more content to load???

  • @gurunandans51
    @gurunandans51 2 роки тому

    Hi, Can we get a similar implementation, but in the opposite direction, I.e dynamic loading of content as we scroll bottom to top?

  • @Retromags_Brian
    @Retromags_Brian 5 років тому

    Can you point to a specific ajax or jquery call script that would work with this? This part I can understand as you go through it. I just don't know what the call file is supposed to have in it to work. I would not be pulling more content from a database but rather other html files with only body content on it.

  • @arunprasadchief
    @arunprasadchief 9 років тому

    very good
    thanks bro

  • @xzhou
    @xzhou 8 років тому +1

    what if the content isnt blue box? I actually have more data to show, but when the page just loaded i only want to show the first 10 items, as you scroll down you can see all 50 items.

  • @mahethekiller1
    @mahethekiller1 9 років тому

    thanx adam

  • @AltafHussain-ww8se
    @AltafHussain-ww8se 6 років тому

    nice tutorials! thanks! i am confused regarding that div keep on repeating infinitely. can you explain how its happening?

  • @mosialive
    @mosialive 8 років тому

    Thanks for this Let me subscribe.

  • @ebatatas
    @ebatatas 8 років тому

    Thank you

  • @gradar7891
    @gradar7891 8 років тому +2

    İt would be great that some ajax rq done and append data as 4 items per request in this tutto :(

  • @olekristianmller-hansen4220
    @olekristianmller-hansen4220 6 років тому

    So JavaScript's window.innerHeight is like CSS' viewHeight?

  • @Phenomof713557
    @Phenomof713557 12 років тому

    If I wanted to apply this to only a scrollable div, would I just have to change the window object to the div object?

  • @ProjectOneAu
    @ProjectOneAu 12 років тому

    awesome!

  • @Luizltg
    @Luizltg 10 років тому +8

    I subscribed when i heard him barf.

    • @zenliminal6209
      @zenliminal6209 6 років тому

      I started watching the video after I read your comment. :)

  • @Naif19971
    @Naif19971 5 років тому

    I love you

  • @networkarab
    @networkarab 12 років тому

    awesome good jon

  • @SwissCode75
    @SwissCode75 8 років тому

    can you tell me how to make (Tricky Button Moving Away when Mouseover)
    thanks

  • @alphafox4284
    @alphafox4284 7 років тому

    thanks bro

  • @himelsarkar137
    @himelsarkar137 8 років тому

    Thanks

  • @q695
    @q695 9 років тому +1

    Can you please give us the load more HTML page data onto the bottom code? I've been stuck for a few days on that part.

    • @q695
      @q695 8 років тому

      yes, after a lot of work.

  • @javx7735
    @javx7735 10 років тому

    Not Work in Internet Explorer 7, 8! There is something you can do??? Help me please! Regars! Saltillo México.

  • @tonytherm388
    @tonytherm388 10 років тому

    If i copy-paste this code i would see the blue background content? It doesnt work to my pc. Is there something i miss? I dont use ajax call but i think i should see the new div when i scroll, like this tutorial. Can anyone help me?

  • @FARproductionz
    @FARproductionz 9 років тому +2

    can you please tell me how to make this script stop loading once my data is all loaded? it kept loading empty space i don't know how to stop it :(

    • @jaysonbarateta4869
      @jaysonbarateta4869 9 років тому

      +F.A.R Productions Bro did you find your answer? i also wanna know how?

    • @FARproductionz
      @FARproductionz 9 років тому

      no luck buddy :(

    • @glowiever
      @glowiever 9 років тому

      +F.A.R Productions there's a lot of technique.
      First, you could just mark the response sent from the script. Next time it loads, pass the "mark" as parameter. Then the script would know that you got all you need, and thus, able to send nothing.
      Or, you could make the script to send response with a "marker" that says "this is the end". Then, when it's time to load stuffs, the javascript code could check if we have reached the end of the data, and thus, kill itself and do nothing.

    • @General_Aladeen
      @General_Aladeen 9 років тому

      +F.A.R Productions watch his tutorial in JSON part 7. so you have an idea.

    • @nadeemnakade9204
      @nadeemnakade9204 9 років тому

      +F.A.R Productions jquery.stop()

  • @gardsonbinasbas2757
    @gardsonbinasbas2757 10 років тому

    thanks!

  • @GilbertBigelow
    @GilbertBigelow 11 років тому

    Notice the SEO placed in the comment above?
    SEO is rated by the appropriate use of keywords and page location.To boost rating of a video, visitors need to leave comments that use nouns similar to that used in the title and not pronouns.
    See,below,all the comments are typical, a lot of thanks and questions but no reuse of page keywords. We get visitor to like and comment; why do we not get them to make a reference to the video by title or write about their thoughts using some of the keywords?

  • @ALIMUNTH
    @ALIMUNTH 12 років тому

    U R FIRST

  • @stylishhughes
    @stylishhughes 11 років тому

    HELP: how would you load multiple request.
    example
    1. div 1 load
    get the the bottom of the div 1 and loads div 2
    2. gets to the bottom of div 2 and loads div 3

  • @porrrhub-tv1242
    @porrrhub-tv1242 7 років тому +2

    dosn't work... :(

  • @pujovski
    @pujovski 9 років тому

    If someone knows, pleas explain the "ajax call to get more dynamic data goes here" part. I am struggling with it for more than a week... Or, even better, if someone can put a finished source of this tutorial video. Thanks :)

  • @trisetyadarmawan902
    @trisetyadarmawan902 9 років тому

    thanks :)

  • @afghanboy4022
    @afghanboy4022 5 років тому

    hi sir ,
    thank you for good tutorials ,
    i have a question.
    is this working with touch devices like android and iphone ?

    • @WillToWinvlog
      @WillToWinvlog 5 років тому

      Pretty sure it does but the correct question would be asking about their associated browsers.

    • @fracasopina2121
      @fracasopina2121 5 років тому

      Should work, but for apps you should use an native app, if is like a social media.

  • @sampahemmanuel2643
    @sampahemmanuel2643 8 років тому +2

    assuming I am suppose to be loading events or post, how do i get to update the various comments for each of the events in A REAL-TIME situation

  • @stylishhughes
    @stylishhughes 11 років тому

    how can you load multiple content from different callbacks on scroll

  • @1995Razz
    @1995Razz 12 років тому

    But how to add more content when you scrolled down to the bottom? Now it is the same content over and over again. PLZ help me!!!!

  • @cockerspanielhome
    @cockerspanielhome 12 років тому

    Thanks Adam, As usual this is another great useful vid and I really appreciate your time and effort in doing this for us.
    Eric

  • @damiantoczek231
    @damiantoczek231 10 років тому

    Which program are u using to write all scripts and that staff ? cos i have only notepad++ :x

    • @dewitall
      @dewitall 10 років тому

      Notepad++ is really pretty good, I've been using NetBeans for web development, for a good while, and I gotta say, I like it a lot better than Notepad++; NetBeans web development has great autocomplete features. I'm going to check out Visual Studio next, my friend showed me the newest version, and I was impressed! So if you're in college, you could get Visual Studio for free, and NetBeans is free.

  • @chadtafari
    @chadtafari 11 років тому

    What if I want this to happen in a div? Is it possible?

  • @syntrax-og
    @syntrax-og 12 років тому

    So, that's how you do it.
    I have an idea for your next tutorial, SEO links, how do you make:
    domain.com?hello=1&world=stuff
    into:
    domain.com/1/stuff/
    I've been editing my .htaccess file in my apache server, but nothing happens :(, been trying to get it to work since like ever, but still no results

  • @saadaltwaim9672
    @saadaltwaim9672 11 років тому

    hi every one where can i find the Ajax call to get more dynamic data CODE

  • @sandeepnath9504
    @sandeepnath9504 5 років тому

    What IDE is this?

  • @DrDevilDD
    @DrDevilDD 11 років тому +2

    Dude, you're awesome and all but don't burp into the mic LOL XD

  • @theinfocrux2937
    @theinfocrux2937 5 років тому

    Editor name??

  • @druthers1993
    @druthers1993 11 років тому

    js cannot retrieve content height 7:00

  • @theiareproduction
    @theiareproduction 12 років тому

    next 500th video special?
    30 minute video?

  • @peterm.souzajr.2112
    @peterm.souzajr.2112 9 років тому

    im still so lost on this one.

  • @QuiintaSoledad
    @QuiintaSoledad 11 років тому

    same problem here

  • @WillToWinvlog
    @WillToWinvlog 9 років тому +2

    Lol@theintro

  • @kovacsemod
    @kovacsemod 12 років тому

    0:41 lol

  • @shaanbeentv6567
    @shaanbeentv6567 8 років тому +1

    10:20 .lol

  • @rjim2637
    @rjim2637 11 років тому

    hahaha burrrppppp !!

  • @Ioan190
    @Ioan190 12 років тому

    lol 2:53

  • @calebprenger3928
    @calebprenger3928 8 років тому +3

    I want to like this videos but i don't like the guy lol

  • @iStudLion
    @iStudLion 6 років тому

    Wtf was that burp?

  • @BodukBalonzoacc
    @BodukBalonzoacc 12 років тому

    lol what is that???

  • @f4ubricks
    @f4ubricks 11 років тому

    This s the bomb for slow computers