Answer the question
In order to leave comments, you need to log in
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
}
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question