Hi Walter I’ve combined your shy/sidebar with your accordion with arrows and all working fine however I’m not sure that I have the CSS and Javascript in the best places in my Markup. I ask as sometimes when clicking between pages in a site the sidebar appears open until the page has fully loaded and then it closes as it should be. Currently I have:
Before /Head: CSS for shy/sidebar followed by accordion.
Before /Body: Script src for Prototype followed by script for accordion and lastly script for shy nav panel and button.
I have seen that from time to time as well. It’s because of the way that scripts download and execute in a Web page. Depending on how busy the network is, you may get one script before another style sheet, and the page won’t stabilize until everything is downloaded into memory. I built the page the way I did becauseI didn’t want someone who has their JavaScript turned off to have a completely navigation-less experience. I hide the sidebar using JavaScript, so its natural inclination is to be visible if you have disabled JS.
Walter
On Mar 26, 2016, at 9:51 AM, Dave Dunning email@hidden wrote:
Hi Walter I’ve combined your shy/sidebar with your accordion with arrows and all working fine however I’m not sure that I have the CSS and Javascript in the best places in my Markup. I ask as sometimes when clicking between pages in a site the sidebar appears open until the page has fully loaded and then it closes as it should be. Currently I have:
Before /Head: CSS for shy/sidebar followed by accordion.
Before /Body: Script src for Prototype followed by script for accordion and lastly script for shy nav panel and button.
Sorry Dave it’s the same site you advised me on the other day www.miniscoff.co.uk.
Thanks Walter at least it’s not me then! It only happens now and again on older slower mobile devices although the client did have a problem of the menu on the home being stuck open on his iPhone but after doing an iOS update it cured the problem.