Results 1 to 3 of 3

Thread: Lazy loading on tabs

  1. #1
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    944
    Thanks
    122
    Thanked 2 Times in 2 Posts

    Default Lazy loading on tabs

    Hi all,
    On my site I use tabs to show a lot of content, almost all images.
    How can I make them load only when the visitor opens a tab? Now I use the Google loading="lazy", but I am not sure that does it. Is there another way to achieve fast loading of the images when opening a tab, please?
    Thanks.

  2. #2
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,435
    Thanks
    106
    Thanked 119 Times in 117 Posts

    Default

    I am very weak on javascript, but Ajax Pagination script v1.2.2 may help point you in the right direction. When you click on the page number the specific content is loaded and the rest of the page remains the same. This should give your visitors a much more efficient way to view what they want without having to reload the entire page.
    To choose the lesser of two evils is still to choose evil. My personal site

  3. #3
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    944
    Thanks
    122
    Thanked 2 Times in 2 Posts

    Default

    Thanks James.
    - if I understand well every tab content would be a separate page, which I would like to avoid for Google purposes.
    - this script is pagination, so no idea how to adjust it into tabs.

Similar Threads

  1. Replies: 7
    Last Post: 09-20-2016, 08:09 PM
  2. Lazy loading of images
    By JennyWong in forum Looking for such a script or service
    Replies: 1
    Last Post: 08-14-2016, 07:59 AM
  3. Ajax tabs: Loading external links into tabs div
    By synergy in forum Dynamic Drive scripts help
    Replies: 15
    Last Post: 01-26-2009, 04:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •