I have created a Help Center home page for our company that is similar to the Zendesk Support page, where there are three icons, and clicking on the one labeled "Knowledge Base" opens up a box below on the same page that lists the docs and provides an "X" to collapes it. But I don't like how, when you follow a link to a document, and then go back to the home page, the list collapses automatically. I'd prefer it to remain open until the user explicitliy closes it. So I added a few jQuery lines to add a cookie to track the opened/closed state. However, if the user logs out and then logs back in a short time later, I'd like the page to always open in its initial state.
Is there a way I can detect that the user has logged out so I can delete my cookie at that point?
Post ist für Kommentare geschlossen.