I created a #header-bg and a #header-fg divs, both encapsulating #header, I am planning to use them as layers to change the background image in my Angular theme header smoothly using jQuery. I have created a code snippet that changes background-images inside a window.setInterval function, which is inside a document.ready function. Code somehow doesn't work. Is there specific place to put extra jQuery code?
Unable to add jQuery code
2 posts from 2 voices-
Posted 6 months ago #
-
Hi!
I'd insert it into angular/js/avia.js - at the top you'll see the document.ready function and I'd insert the code after it. Don't forget to clear your browser cache.
Best regards,
PeterPosted 6 months ago #
Reply
You must log in to post.














