I'm making a small presentation which is in HTML. There is a sidebar which has three parts out of which anyone can be made visible/invisible. What i want is some way to share variables amongst the pages to share the visibility status of the parts. Since it's local, cookies aren't working (do they.. if they do.. tell me how to, i have tried, but cookies aren't getting saved from local pages).
Is there any other way share variables. Otherwise one way is to use GET data for all links. Like, if i'm going to c:/expuni/mypage.html, it should goto:
C:/epxuni/mypage.html?var1=value&var2=value
but, there are so many links now, that it is not possible for me to change the anchor elements by javascript everytime a visiblity state is changed. So, is there a way such that everytime a link is clicked on, a function is executed that modifies the link, adds GET data and goes to that location.
thanks a lot.
Is there any other way share variables. Otherwise one way is to use GET data for all links. Like, if i'm going to c:/expuni/mypage.html, it should goto:
C:/epxuni/mypage.html?var1=value&var2=value
but, there are so many links now, that it is not possible for me to change the anchor elements by javascript everytime a visiblity state is changed. So, is there a way such that everytime a link is clicked on, a function is executed that modifies the link, adds GET data and goes to that location.
thanks a lot.
