Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by ASAP_aul

  1. Does anyone know what the beginning part of the code does?? Y.on('domready', function () { var galleries = Y.Squarespace.GalleryManager.getGalleries(); What does 'Y.on' do? What does 'domready' do? and what does 'Y.Squarespace' do? For some reason the 'domready' is screwing up my navigation bar when I am in mobile view. When I remove the 'domready' the navigation works fine. What exactly does 'domready' do and why would it cause only my mobile navigation to stop working? Also the the carousel will not work without 'domready'
  2. i think you would want to create another gallery variable. In the example above, he/she grabs the gallery using:var gallery = galleries[0]; So if you added another gallery (and it was the second gallery on the page) you might do something like:var gallery2 = galleries[1]; then do everything you did to 'gallery' to 'gallery2'
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.