justinmind-logo
 
Upvote 5

Is it possible to remember "state" between screens?

Answered Victor Conesa 11 years ago

I have a screen that has various things hidden - as I click through my demo script, those things become visible. Some of the navigation takes me to a new screen (just much easier to manage creating multiple screens in several circumstances). I'd like to be able to navigate back to my starting screen but have visibility state of the various images remembered.


Is that possible? Or is there some other approach I should be considering to accomplish this? Right now I'm thinking about creating an entirely new screen that has the state I desire but that really puts me on a one way path in terms of demonstration/prototyping.

Replies (6)
photo
1

I can't think of a good way to do it. Maybe you can use variables to 'store' the state of your screen and hide/show components using onPageLoad events and that variable.

photo
1

Is this answer still the case? Have you implemented states yet?

photo
1

This answer is still the case. We will notify the development team about the request for this feature and we will let you know in which version this will be available.


Best regards,


Marc

photo
1

Is there any hack that can be done that would be able to store the screen state of a input or radio button as a Global Variable that can be recalled when returning to that screen?

photo
1

I guess the closest I have been able to get to this is from an answer from another post to use Panels..

photo
1

Has this been implemented. I am having similar issue where I want the amount scrolled down on a screen to be kept constant between screens when it comes to responsive/adaptive design.


For example, you have two screens with tables whose width adjusts as the screen width's changes (Responsive Design). As soon as the screen's width gets below a certain number of pixels it will then go to another screen with it's adjusted layout to fit in the width dimensions (Adaptive Design). However, if you're scrolled down on the first screen and re-size the width of the window so that you link into the second smaller screen it jumps back up to the top of the second screen because you just load into it.


However, I want to keep the amount scrolled the same between screens. You can see the use of this on Justinmind's All Features page. Here:


Justinmind All Features


To explain myself better go to the all Features page linked above and do this:


1) Make the window big enough to see three columns of feature boxes


2) Scroll down an arbitrary amount


3) Shrink the width of the window until it goes from three columns to two columns


*I assume it "changed screens" to get from three columns to two columns but notice how it did not jump to the top of the screen when it changed into two columns i.e. the second screen. Not sure if this is the right assumption and if there is a better way to go about this. The prototype I am working on is for practice and I am making is mimicing this page and it's functionality.

Leave a Comment
 
Attach a file