Manuel Posted March 18, 2019 Share Posted March 18, 2019 Hei Guys, w3schools is so awesome. I learned a lot About webdesign but now I've been comming to an end. On my Webpage I got a Nav-bar with jquery-buttons that hide/Show divs. So here Comes my Question. Is there any solution to save the visibility Status of These divs when user adds my page to bookmarks? Is there any solution to make last Status of divs available via browser button BACK? I was reading About this Problems some time ago but was not able to figure out were. I'm really open to any solution. Even a complete redesign of the page is possible if the solution is better. Thanks a lot. Manuel Link to comment Share on other sites More sharing options...
justsomeguy Posted March 25, 2019 Share Posted March 25, 2019 You would have to save the state in something like localStorage or using cookies, and when the page loads you check for that saved state information and apply it to the page. Link to comment Share on other sites More sharing options...
Manuel Posted April 11, 2019 Author Share Posted April 11, 2019 Thanks for your Reply. Thats the method I worked out now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now