Hello, I was wondering if it is possible to access a certain page’s elements from a different page? For example, how can I have buttons that trigger a redirect to another page and then, depending on which is clicked, a particular element on the new page is shown that was originally hidden by default? Let me know if I need to clarify something, thanks!
Hey Terrence,
You can’t access one pages elements from another page, but you can probably accomplish what you’re trying to do in another way. How about sending messages between the pages using the wix-storage API ?
Hi Sam, i have tried reading up on the storage API but I have no clue how to go about using it. Would you perhaps run me through a very simple example?
If lets say I have a button on page 1 that I want to run that allows an element on Page 2, for example a multistate box, to react to it. How should I go about coding to allow the information to be stored, and subsequently retrieved when I transit to the second page?
Hello, I want the same thing, use a button to when click: Go to a page and automatically change a state of a statebox.
Ps: I’m really bad at coding, so i’d like a in detail help. I’ve read about wix-storage api but still, i don’t get it
Up ! I have exactly the same interrogation !
Wix seems to hide some functions to prevent bad intentioned actions, like a simple video runnin in whitout permission in background, or a click in an iframe that can result in someting more serious (execs, instals, extensions). I prefer to believe in this to accept that wix team isn’t capable to perform eazy things like:
- Conect elements between pages
- Pin “Columns Trips” in mobile
- Allow direct execution of video/audio files (out of oficial player)
I could spend some time here remember weak ponits of wix, but the rest of 95% elements that i have to use in my project worked nice, eazy ad perfectly. Sooo…
You can consider using Custom Elements or custom code (under Wix dashboard) so you no need to use native Wix elements.
Good luck