Hello. I'm brand new to Experts Exchange. I've seen one question on here related to using cookies with a Spry Collapsible Panel, and I've tried that particular solution, but it's not quite what I'm looking for. Hopefully I can get a solution to the specific problem I'm trying to figure out:
What I want to do is use a Spry Collapsible Panel to be open when someone initially visits the homepage of the site, but as they navigate around the site, and then come back to the homepage for whatever reason, I don't want the collapsible panel to be open automatically on subsequent visits to the home page-- at least not in the same browser session.
So... very simply, here's what I want to happen:
User first arrives at homepage --> Collapsible Window is open by default until they close it.
User navigates to other pages -->I'm using a different template so collapsible window is set to be closed by default on those pages
User hits the "Home" button to navigate back to home page from elsewhere in site during same visit --> Collapsible window is closed by default in this subsequent visit.
If they close their browser and later in the day open their browser to go back to the site again, it doesn't matter to me if they don't get the collapsible window open on their initial visit or not. I'd probably prefer that the collapsible window is only open by default ONCE per day, but ONCE per session would work, too.
Here's the page of the site I'm working on: http://www.bonesvillemedia.com/pirateclub-v3/
Thanks in advance!