Answer the question
In order to leave comments, you need to log in
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:
<div class="fotorama"
data-width="100%"
data-ratio="800/600">
</div>
Answer the question
In order to leave comments, you need to log in
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:
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.
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);
*/
});
Here is an analogue dimsemenov.com/plugins/royal-slider/gallery
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question