5

In some sites in their home pages, as u scroll down, modules appear one by one.
I think this enhances page load time. How can i do this in Joomla? Is it doable? Is there a plugin or something for this matter?

2
  • I think what you're seeing doesn't actually "load" the module when in the viewport. It's already loaded but is hidden, then when it's in the viewport, it becomes visible.
    – Lodder
    Aug 23, 2016 at 15:06
  • What you're thinking of may increase server loading time, but will absolutely destroy your server resources as it will require a load of Ajax requests.
    – Lodder
    Aug 23, 2016 at 15:08

3 Answers 3

3

"Lazy loading" may be what you are describing.

There is a free Joomla extension, "Lazy Load for Joomla!" which helps with this but is more for images than modules.

1
  • 1
    yeah, exactly. jch plugin has this function for images. and i thought it would be good to do the same thing about modules.
    – kiasaty
    Aug 24, 2016 at 5:56
0

I would be very careful using the lazyload method. I have seen many instances where the content (images) at top do not load until the page scrolls even 1 pixel.

You might consider using scrollfire/magic.. this allows you to load certain content based on where the user is on their scrolling position.

http://materializecss.com/scrollfire.html http://scrollmagic.io/

0

You can use sp-pagebuilder. The functionality is there by default. In sp-pagebuilder, goto row settings chose the animation what you want, increase the delay time. U are done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.