I made 2 html files, one is mainly using javascript,(the index). And another that is for the info. So in the index.html file when opened it displays a main menu and a button called books and when clicked on it displays a list of book titles and etc. and when chosen one of them it will send you to the 2nd html file, the info.html file. I made a button on the info.html file where it will send you back to the index.html file, but when i click on it goes back to the main menu screen and not the books list screen.
Is there anyway to have the current state of the previous html file stay the same?
(I made the mainmenu dissapear and books tab reappear using javascript.)