I have a toggle button inside each page. That toggle button actually toggles left panel of my design. What I need is that when the left panel gets off by toggling button then it should remain of all across the pages I visit until and unless I again click the toggle button.

So for that I think I have to set a mechanism to send some variable value through that toggling button, which is now functioning through a Java Script.

So that the page can track that variable value and will be able to follow the previous toggling status.

What can be the solution, please guide me, if anyone of you have proper solution with example.