[Pro] Question for Walter re shy/sidebar and accordion combo

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.

Is the correct?

Thanks
Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:

A link to the live page would help more.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:

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.

Is the correct?

Thanks
Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

On 26 Mar 2016, 2:03 pm, DeltaDave wrote:

A link to the live page would help more.

David

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.

Thanks
Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

it’s the same site you advised me on the other day

It doesn’t help that you are loading 2 different versions of Prototype 1.7 and 1.7.1

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

It doesn’t help that you are loading 2 different versions of Prototype 1.7 and 1.7.1

Take out the one that you have added manually via Before end Body as whatever actions you have used on the page have added Prototype already

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

On 26 Mar 2016, 2:58 pm, DeltaDave wrote:

It doesn’t help that you are loading 2 different versions of Prototype 1.7 and 1.7.1

Take out the one that you have added manually via Before end Body as whatever actions you have used on the page have added Prototype already

D

I’ll do that for sure. Thanks yet again


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options