Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

dom_1080

Member
  • Content Count

    19
  • Joined

  • Last visited

  1. For anyone on the dev platform , this is what I did on the Five Template. I edited the main.nav block as followes, I can't remember exactly what I changed as I don't have the before and after but I think the bold text JSON may have been the only alteration. This will cause the folder link to automatically trigger the folder URL. <a href="{collection.fullUrl}" {.if folderActive} class="active-folder"{.end}>{collection.navigationTitle}/ Whilst being exactly what we want for those with hover functionality, it's a problem if you're on a touch device . However I don't think Jquery is necessary to fix it - just a simple bit of CSS taking advantage of Squarespace's inbuilt Modernizr capabilities. .touch #main-navigation ul .folder-collection > a { pointer-events:none}
  2. I found this very straightforward to follow in terms of getting a loading page in place: Display Loading Image While Page Loads. Does anyone more jQuery literate know how I would be able to set the page loading animation to last 5 seconds before fading, unless the page loaded before that time in which case it could reveal the page early? Any help would be very much appreciated, I find that some stray elements on my homepage pulled in from other sites can have delays that cause the animation to show for 8 seconds etc. when the page has been 95% loaded many seconds earlier.
×
×
  • Create New...