Thanks to a very kind and talented Wix expert, I was able to replicate a drop-down menu, and it’s working, except when I try to click on a button within the menu (strip), the strip doesn’t stay open for me to click on. Can someone take a look and tell me what I’m missing? The kind and talented designer’s menu works and this is the same code he used. What else am I supposed to have done to make the “menu” stay open while I’m mousing over it?
Here’s the site with the menu: https://pauledesign.wixsite.com/logic
Here’s the code I used:
export function platformButton_mouseIn(event, $w) {
$w(“#platformStrip”).expand();
}
export function platformButton_mouseOut(event, $w) {
$w(“#platformStrip”).collapse();
}
export function solutionsButton_mouseIn(event, $w) {
$w(“#solutionsStrip”).expand();
}
export function solutionsButton_mouseOut(event, $w) {
$w(“#solutionsStrip”).collapse();
}
export function companyButton_mouseIn(event, $w) {
$w(“#companyStrip”).expand();
}
export function companyButton_mouseOut(event, $w) {
$w(“#companyStrip”).collapse();
}
export function platformStrip_mouseIn(event, $w) {
$w(“#platformStrip”).expand();
$w(“#platformButton”).disable();
}
export function platformStrip_mouseOut(event, $w) {
$w(“#platformStrip”).collapse();
$w(“#platformButton”).enable();
}
export function serviceStrip_mouseIn(event, $w) {
$w(“#solutionsStrip”).expand();
$w(“#solutionsButton”).disable();
}
export function serviceStrip_mouseOut(event, $w) {
$w(“#solutionsStrip”).collapse();
$w(“#solutionsButton”).enable();
}
export function clientStrip_mouseIn(event, $w) {
$w(“#companyStrip”).expand();
$w(“#companyButton”).disable();
}
export function clientStrip_mouseOut(event, $w) {
$w(“#companyStrip”).collapse();
$w(“#companyButton”).enable()
}