Jump to content

newqqq

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About newqqq

  • Rank
    Newbie
  1. Hello, I'm trying to update a rather basic site I've written, it's intended to be rather basic, however i can't for the life of me figure out how to retain the state of the collapsible on browser refresh. Any pointers would be helpful, although i feel i may just be being stupid! I did a rather lengthy researching exercise and came up with all sorts of contradicting information and suggestions, some refer to writing cookies, so writing to the local storage and others embedding the state directly into the JS. Whichever is simplest would be ideal, but I'm slightly confused as
  2. Hello, I'm creating a rather basic page, simply to show some charts, and I'd like the page to refresh at certain intervals retaining the state of the collapsible. It doesn't matter if it doesn't auto refresh as i can do this by other means, but I'd like the collapsible to remain expanded if it was when the refresh option is hit. HTML Code: <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="css.css"> <link href="chrome.css" rel="stylesheet" type="text/css"> </head> <body> <button type="button" class="collapsible">S
×
×
  • Create New...