I
I
Ingrid40542016-10-12 21:28:32
JavaScript
Ingrid4054, 2016-10-12 21:28:32

Why doesn't the gallery work in the mobile version?

The gallery does not work in the mobile version of domcaro.ru/gallery . If you click on the picture - the browser immediately crashes, both on the PC and on the mobile device. And on the PC and tablet version, everything is fine. Help me please.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
Cyber_bober, 2016-10-12
@Cyber_bober

there you have an infinite loop on line 652 in idangerous.swiper.js most likely

for (var k = 0; k <= Math.floor(_slideSize / containerSize); k++) {

M
mletov, 2016-11-13
@korenb_white

Cover: id, name, path
CoverRelation: CoverId, EntityId (id of a movie, book, etc.), Type (movie, game... can be expanded indefinitely if tomorrow, for example, more books and audio albums appear in your scheme you will have to create new fields)
Although if you stick to nf, then you need to create separate tables such as Posters for Games, Posters for Movies, etc., and for each link table

K
Konstantin Tsvetkov, 2016-11-14
@tsklab

A cover is a cover (poster) for a game or movie, so a game or movie can have as many posters as you like.
Link the poster to one entity (game, for example) and link entities (game and movie, for example). Representation: the entity and related to it, plus all the skins associated with the generated set.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question