Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18180

    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?

    #98511

    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,

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Unable to add jQuery code’ is closed to new replies.