C
C
cyberlain2015-04-24 07:47:32
JavaScript
cyberlain, 2015-04-24 07:47:32

Why doesn't the scrollspy plugin (uikit framework) work properly?

I made a one-pager on the uikit framework. Attached animation parallax effects as it is done here - using the built-in scrollspy plugin. On the localhost, everything worked fine - when scrolling down, the elements smoothly appeared as intended

. But then the coder began to integrate the layout into Bitrix and the animations began to work immediately when the page was loaded and not when scrolling.

this is what is actually happening now - an integrated one-pager

, what could be the matter?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Ghazsh, 2016-12-07
@Ghazsh

Can I join too? I have a similar problem. Only already in the local document.
Animation works. The script adds classes to the DOM. But the animation is displayed when the page loads, and not when scrolling to the right place.
What doctype are you talking about? Which is at the beginning of the document? It seems to be worth it.
In the cap are connected
Do not fuss. Maybe something else needs to be connected? Something I'm dumb.
upd.
Cool. Works if you open the developer console in a browser. Looks like some problem with caching. Anyway.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question