I have not worked with Code in Wix and really don’t do any JS stuff (I do more design and use CSS/XHTML), not so much other coding. Is there a good resource for me to learn how to implement the code you gave me into the Repeater I’d like to use in on?
I’ve found this article: https://www.wix.com/code/home/video-custom-interactions
I’ve given my repeater an ID, but am not sure where to put this JS.
Is it in the OnItemReady area? And do I place the code under the area:
//TODO: write your page related code here…
// For full API documentation, including code examples, visit http://wix.to/94BuAAs
$w.onReady(function () {
//TODO: write your page related code here...
});
export function clubsrepeater_itemReady($w, itemData, index) {
//Add your code for this event here:
}
I am also trying to do the same as above randomize Database Info In a Repeating Layout. I copied the code that Tal posted but I am still having some issues. Please see the image below. I have also attached the code I have after it in case its conflicting with it. This is the URL. https://www.easternstyles.com/artificial-floral-garden
Hi Tal, I’ve tried the code you kindly provided and in general it does work. The problem I am having is that I need to filter the records and that code doesn’t account for that and I get all the records instead. Is there some other code I can add to filter the records? Thanks