4

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?

  • 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 '16 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 '16 at 15:08
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.

  • yeah, exactly. jch plugin has this function for images. and i thought it would be good to do the same thing about modules. – kiasati Aug 24 '16 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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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