Support Forum

  • Page:
  • 1

Add inverted Lazyload selectors (i.e what classes not to use Lazyload)

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,

A suggestion regarding the Lazyload setting – I think there should be a field to define what classes should NOT use Lazyload, rather than for what classes to use it.

Often, there are some areas of the site – usually zentools – which has some issues with Lazyload. I.e using ZT accordion, only the first image loads.

Disabling Lazyload fixes this. However, then I miss having lazyload on the rest of the site.

So, more often than not, it's on the exceptions that I don't want Lazyload, rather than enabling it only for some classes. So any time you'd find problems, you could just add that class to the list and not use lazyload.

Therefore, I think it'd make sense to have an 'inverted' option for classes to NOT use Lazyload, i.e
zenimage img
.

Thanks.
  • olovk's Avatar
  • olovk
  • 3 Month Basic
  • 61 posts
  • Karma: 0
The administrator has disabled public write access.
Thank you for this suggestion. I am sure our devs will look at it and take think about it
  • mihha's Avatar
  • mihha
  • 12 Month Developer
  • 711 posts
  • 44 Thanks
  • Karma: 11
The administrator has disabled public write access.
Just implemnted this in 2.4 of the framework.

Pretty easy using the jQuery function .not()

Will release this week.

Cheers
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
The following user(s) said Thank You: olovk

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers