S
S
sabanovvv2014-10-13 18:43:21
css
sabanovvv, 2014-10-13 18:43:21

How to fix slider bug?

I have been suffering for a long time, I can not fix the bug with the display of the slider.
When you launch the site test.webjay.ru , you go to tab2 (the "Semi-warm Slidors" button), then why it is displayed crookedly, see the picture.
When you refresh the page, the problem seems to disappear.
a1e5b5dcb05a4cf79256e36a927c7bd3.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-10-13
@Geminic

Perhaps your slider is initialized before the images are loaded, so it does not know their sizes and is not centered correctly.
Try to initialize the slider by $(window).load().
Also try to assign width and height to each image.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question