A
A
Andrey Perov2016-09-19 20:03:18
css
Andrey Perov, 2016-09-19 20:03:18

Why does the fancybox slider flies all the way to the top on phones?

On monitors, at any resolution, everything works as it should, but if you log in from android or IOS, then the fancybox slider flies to the top of the page, what could be the catch?
Link to the page:
rose.test8.robonet.ru
all fancy code

// Fancybox Слайдер
  var fancyGallery = $("#images").find("a");
  fancyGallery.attr("rel","gallery").fancybox({
    type: "image",
    padding: 0,
    'maxWidth': '90%',
    tpl: {
      closeBtn: '<a title="Close" class="fancybox-item fancybox-close myClose" href="javascript:;"></a>',
      next     : '<a title="Next" class="fancybox-nav fancybox-next myNext" href="javascript:;"><span></span></a>',
      prev     : '<a title="Previous" class="fancybox-nav fancybox-prev myPrev" href="javascript:;"><span></span></a>'
    },
    helpers: {
      overlay: {
        locked: false
      }
    }
  });

But I don't think that's the problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis T, 2016-09-20
@SnaIP

there is no challenge here. look at this element and its properties
joxi.ru/823z6aNf6WqPem
I also somehow had a jamb with css fancybox, but a banal edit fixed everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question