https://symm3tr4.wixsite.com/new-symmetra
Clicking the pages from the top right side menu does not take you to the designated destination.
It is an image, topped with a hidden button, that on mouse-in is made visible. If clicked, it is supposed to close the menu and move you to the page it is defined to take you to via code.
I even tried it with the editor linking and combo of that and page definitions, yet clicking any of those buttons only results in the menu closing, does not result in any page transitions (some of the buttons are currently associated with 404 addresses that need to be made, but these dont work either).
This is my code for this bit, but I am not getting the result I need here for some reason.
let floatOptions = {
"duration": 400,
"delay": 0,
"direction": "top"
};
let fadeOptions = {
"duration": 300,
"delay": 50
};
export function menbtn_click(event, $w) {
$w('#menu').show("float", floatOptions);
}
export function menuclose_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
}
export function homebtn_mouseIn(event, $w) {
$w("#homebtn2").show();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function homebtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function printbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function webbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function dealsbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function ourworkbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function brandingbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function contactbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function helpbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function agencybtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function partnerloginbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function teamloginbtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function aibtn2_mouseOut(event, $w) {
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function partnerloginbtn_mouseIn(event, $w) {
$w("#partnerloginbtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
}
export function teamloginbtn_mouseIn(event, $w) {
$w("#teamloginbtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function aibtn_mouseIn(event, $w) {
$w("#aibtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function agencybtn_mouseIn(event, $w) {
$w("#agencybtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function helpbtn_mouseIn(event, $w) {
$w("#helpbtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function contactbtn_mouseIn(event, $w) {
$w("#contactbtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function dealsbtn_mouseIn(event, $w) {
$w("#dealsbtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function ourworkbtn_mouseIn(event, $w) {
$w("#ourworkbtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function brandingbtn_mouseIn(event, $w) {
$w("#brandingbtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#webbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function webbtn_mouseIn(event, $w) {
$w("#webbtn2").show();
$w("#homebtn2").hide();
$w("#printbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function printbtn_mouseIn(event, $w) {
$w("#printbtn2").show();
$w("#homebtn2").hide();
$w("#webbtn2").hide();
$w("#brandingbtn2").hide();
$w("#ourworkbtn2").hide();
$w("#dealsbtn2").hide();
$w("#agencybtn2").hide();
$w("#helpbtn2").hide();
$w("#contactbtn2").hide();
$w("#aibtn2").hide();
$w("#teamloginbtn2").hide();
$w("#partnerloginbtn2").hide();
}
export function homebtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#homebtn2").link = "/home";
}
export function printbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#printbtn2").link = "/print";
}
export function webbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#webbtn2").link = "/digital-marketing-houston";
}
export function brandingbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#brandingbtn2").link = "/branding-houston";
}
export function ourworkbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#ourworkbtn2").link = "/our-work";
}
export function dealsbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#dealsbtn2").link = "/marketing-special-deals-houston";
}
export function agencybtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#agencybtn2").link = "/about-symmetra-creative-agency-llc-houston-tx";
}
export function helpbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#helpbtn2").link = "/help";
}
export function contactbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#contactbtn2").link = "/contact";
}
export function aibtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#aibtn2").link = "/our-work";
}
export function teamloginbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#teamloginbtn2").link = "/high-five";
}
export function partnerloginbtn2_click(event, $w) {
$w("#menu").hide("fade", fadeOptions);
$w("#partnerloginbtn2").link = "/partner-login";
}
OK NEVERMIND.
I got it to work. As it turns out, none of my addresses were real at the moment of coding, and as it turns out, if you got a 404 and you are a on free edition of the site, there is no 404 being displayed under these circumstances.
So this worked
import wixLocation from 'wix-location'; export function printbtn2_mouseOut(event, $w) { $w("#homebtn2").hide(); $w("#printbtn2").hide(); $w("#webbtn2").hide(); $w("#brandingbtn2").hide(); $w("#ourworkbtn2").hide(); $w("#dealsbtn2").hide(); $w("#agencybtn2").hide(); $w("#helpbtn2").hide(); $w("#contactbtn2").hide(); $w("#aibtn2").hide(); $w("#teamloginbtn2").hide(); $w("#partnerloginbtn2").hide(); }
export function printbtn_mouseIn(event, $w) { $w("#printbtn2").show(); $w("#homebtn2").hide(); $w("#webbtn2").hide(); $w("#brandingbtn2").hide(); $w("#ourworkbtn2").hide(); $w("#dealsbtn2").hide(); $w("#agencybtn2").hide(); $w("#helpbtn2").hide(); $w("#contactbtn2").hide(); $w("#aibtn2").hide(); $w("#teamloginbtn2").hide(); $w("#partnerloginbtn2").hide(); }
export function printbtn2_click(event, $w) { $w("#menu").hide("fade", fadeOptions); wixLocation.to("/print-marketing-houston"); }
Yay for these forums, your other answers and other documentation, answering own questions faster than imaginable around here 😌
I have even followed this thread's results and redid these with wixlocation.to, but even then the clicks do not work. I URGENTLY need help with this. I was hoping my re-branded site can be live tonight.
Further supplementary information: