Could someone please help me correct the code below?
I’m in the process of creating a mega menu with buttons that navigate to pages with elements that need to expand.
Thanks in advance.
$w.onReady(function(){
$w(‘#QMS0button’).onClick(function(){
wixLocation.to(“/quality”)
.then(() => {
$w(“#Option1”).scrollTo();
$w(“#topicBox1”).expand();
});
})})