A
A
Archer *range attack +10*2015-03-15 17:28:19
css
Archer *range attack +10*, 2015-03-15 17:28:19

Is there a close analogue of the Fotorama slider?

Photo frame - slider (fotorama.io).
For some reason, you need to find an alternative to it.
There are a lot of sliders, so there is no time to read about each one and test it. We need exactly the analogue of the Photoframe.

What I'm looking for:

  • Ability to place html content in slides
  • simple html code
  • Setting the slider parameters directly inside the html code
    Example:
    <div class="fotorama"
         data-width="100%"
         data-ratio="800/600">
    </div>

  • The ability to stretch the slider to the full width of the window, but the slides must decrease / increase proportionally.
  • Should be free. The license must permit use in commercial projects.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
E
Evgeny Shev, 2015-03-16
@kon-rafikov

It seems to me that you are on to something. fotorama.io - everything there increases and decreases when the window is resized without delays and updates (Safari 8).
UPD:
8e059a28dff94103a04ed025caaee5ae.png

N
Nazar Mokrinsky, 2015-03-15
@nazarpc

I think the question should start with the reasons why Fotorama is not suitable, but obviously it makes no sense to write a copy of some plugin from scratch.

A
Alexander N++, 2015-03-16
@sanchezzzhak

Trigger an onresize event

var $fotoramaDiv = $('#fotorama').fotorama();
$(window).on('resize', function(e){
    // 2. Get the API object.
    var fotorama = $fotoramaDiv.data('fotorama');
          fotorama.resize(); // forse resize
          // OR
          /* 
fotorama.resize({
  width: 333,
  height: 500
}, 1000);
          */
});

S
sashabeep, 2015-09-22
@sashabeep

slidesjs.com

R
roma_programmer, 2018-06-03
@roma_programmer

Here is an analogue dimsemenov.com/plugins/royal-slider/gallery

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question