Topic Closed
feniweb
298 Posts

In Bootstrap Carousel Gallery automatic storage will not work if you change only autostart or speed.

Idea:
Could not one with an image navigation point and arrows Hide and Show only if two or more images are available.

Edited: 4 years ago#8760

juergen
1.5K Posts
53.8K Downloads
16 Plugins
design, web development & visual effects

Hi Felix,

the storing issue is likely due to some major changes in the saving process - plugins must be adapted to the new rules here. I, for my part, will release fixed plugins once TS 5 final is out and all changes and optimizations required are clear.
I'd guess similar will apply to other plugins as well.
The new UI is a quite radical change, but I love it. But it will require a little patience until everything will work smoothly again.

For your idea to hide slider navigation if only one image is present in the slidedhow.
Good point, I'll propose a file change.

For the time being you can replace carousel.js with this code (or simply add the green marked lines):

$(function() {
  $(".gp_twitter_carousel").each(function() {
    var a = $(this), b = a.data("speed") || 5E3;
    a.carousel({interval:b}).swiperight(function() {
      a.carousel("prev");
    }).swipeleft(function() {
      a.carousel("next");
    }).filter(".start_paused").carousel("pause");
    if ( a.find(".item").length < 2 ){
      a.find(".carousel-indicators, .carousel-control").hide();
    }
  });
});

 

Edited: 4 years ago#8761

feniweb
298 Posts

Wow. Wie immer ist  dein Code sehr wertvoll.

Danke vielmal.

4 years ago#8765

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register