Javascripts not initiating correctly
-
So, I am not that new to using jquery, but I haven’t used wordpress for that long. I am working on a site and a couple of the scripts I am running seem to either (a) take a second to initiate or (b) initiate too soon, before they should, and then there must be user interaction for them to correct themselves. I’m not using enqueue for them right now, which I know you’re supposed to, but I don’t think it should be causing this problem. Anyone have an idea to why?
For an example check out the drop down header here: nextworld.kbddev.com. It isn’t supposed to drop down until a certain point in the page, but it shows up anyway when the page loads, then disappears upon scroll.
Another example, on the team page, the photos are scripted to go black/white, and they do, but not after they first show up as color.
[Moderator note: Duplicate thread removed]
The topic ‘Javascripts not initiating correctly’ is closed to new replies.