how to open and close panel using javascript code??
I am trying to open panel on image click and i want to write javascript code to open and close panel.
Appery("panel").show(); but it not working.
what is the solution for this?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I am trying to open panel on image click and i want to write javascript code to open and close panel.
Appery("panel").show(); but it not working.
what is the solution for this?
Hello!
1) You can use action on click event
2) or use JS preAppery("panelName").panel("open");
Appery("panelName").panel("close");/pre
How about if I'm on one page and I want user to click button which navigates to a different page AND opens a panel on that page? I can't just use events because the page with button does not contain the panel I want to open.
Whoops, my bad - it's as easy as using the event to navigate to page and then the above javascript as the second event in a list.
Hello Case,
You can open Panel on the second page, on Load event run JS:
preAppery("panelName").panel("open");/pre