I wrote some JavaScript which will cycle a background image every five seconds, as well as a related text element, and performs a fade in/out when doing so on both. After finishing I realized to my horror that wix does not support jquery. I haven’t been able to find anything in the documentation that makes this easy. Could someone here please point me toward documentation which details how do this using the wix api ($w)?
I’m curious and hoping I can help
-
Have you explore to see if you could use jquery via an npm package ? Not sure if it’s supported yet, but one option.
-
What specifically are you unable to accomplish in Corvid? Your post said you wrote some JS to do what you want. Is it not working or do you not know how to apply it using Corvid APIs? Based on what you shared, do these not work?
https://www.wix.com/corvid/reference/$w/image
https://www.wix.com/corvid/reference/$w/text
https://www.wix.com/corvid/reference/wix-animations
I ended up solving this problem by applying a rotating banner.