Dear Sirs,
Happy new year,
Is it possible to make a button perform double function on a click (like open a page and hiding or closing a content box) when the button is clicked ?
I have already achieved the 1st function (opening a page) by linking it to the page address using button settings but I need it also to close the content box which the button is clicked.
Best Regards
Ahmed
You can have an onclick event handler for the button which does both things:
Thanks for your reply, will try it
@ahmed.f.ghamry Just make sure that the button isn't linked to the new page. Do the redirection in code using wix-location.to().
@Yisrael (Wix) will do thanks