Relative Content

Tag Archive for javascriptwixvelo

wix velo change the text color in header when scrolling

I would like to change how the text in my header looks whenever I scroll into the website. Currently I have a white colored text with a transparent background, using wix editor I made it so that the background changed to white when I scroll but I wanna change a picture in my header and change the text color as well. I have tried multiple codes but all of them seem to show that its not possible to do so, this is my current code and the issues I am facing:

Wix/Velo: How to prevent a link to open while not altering the href?

On a wix site, we need to be able to not follow the target of the link when the user clicks it (as we do some JS things instead, i.e open an iframe).
Appending the iframe to the DOM and everything works well, the problem is that clicking on the link will run our code (great) AND follow redirect to the href, even though we e.preventDefault() on the click event.

Exporting wix contact list as json file

I am trying to build my first Wix website, and I am trying to connect it to a different application that I am building. I am trying to get a list of all users on my website using a python request so that I can connect their information to my external app, but I can’t find a way to export the contact list.

Auto Assigning a specific role when a new user fill out the member sign up form on the Wix website

Hey everyone I am pretty new to coding and need some help using velo to call a function from the backend to autoassign a newly registered member to a specific site role. I am running a non profit website and we are trying to have members who sign up on the membership form get auto assigned to a new member role on the website to separate new member access from the board members and other content we plan on hosting. I am using the assignRole() and register() function