top of page

Forum Posts

Mayan Mobile
Aug 28, 2019
In Coding with Velo
I want to do something like this guy(Mattias) did with his website: https://www.profiltech.dk/ on the Ståltag/væg or Steel roof / wall dropdown. Ive made a dropdown similar to this, but I don't know how to make it disappear once the user's cursor is off the menu/tab button and the box. Please help me if you can.
0
1
67
Mayan Mobile
Jul 31, 2019
In Coding with Velo
I am trying to figure out whether I can make this button disabled forever(even after one reloads the page or switches to another page and then switches back) on the user's side after they click it. Here is what I currently have for the button as it individually adds to a number value. import wixData from 'wix-data'; export function yesButton_click(event) { $w("#yesButton").disable(); $w("#yesButton").label = "Thanks For Voting"; wixData.query("answers").find().then((result)=>{ let answersitem = result.items[0]; let id = answersitem._id; answersitem.yesfield++; wixData.update("answers", answersitem).then(()=>{ $w("#dataset1").refresh(); }); }) ; }
0
7
712

Mayan Mobile

More actions
bottom of page