Jump to content

pamontie

Circle Member
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

pamontie's Achievements

  1. Hi Will,

    I've used your code snippet for gallery transitions and I'm now trying to add an image pan. This is what I've hacked together but I'm kinda clueless on keyframes. The "pan" is working on screen, but I don't know how to add a fade inbetween each image transition. I just want the images to scroll/pan slowly and fade/transition to the next image...continuously.

    the site is ljla.squarespace.com, pw:LJLA

     

    .gallery-fullscreen-slideshow-list {
      overflow: hidden;
    }
    .gallery-fullscreen-slideshow-item {
    scale: 1.1;
    }

    #sections .gallery-fullscreen-slideshow[data-transition="fade"] {
      --duration: 10s;
      figure,
      .gallery-fullscreen-slideshow-item-src{
        opacity:1;
      }
      .gallery-fullscreen-slideshow-item{
        visibility: visible;
      }
      figure:last-child {
        animation: fadeIn var(--duration, 5s) ease;
      }

      @keyframes fadeIn {
          90% {
        transform: translate3d(-80px, 0px, 0px);
      }

      100% {
        transform: translate3d(-60px, 0px, 0px);
      }
      }
    }

  2. I see that you have spent some time on accessiblity issues with Squarespace. I am building a site now for a university office and their accessibility team has flagged a few things. The search function being at the top of the list. Have you run into this before? The following is from their team...

    Search

    This search does not work well for screen reader users.

    • no indication that the search is taking place as you type
    • no indication when search has completed or found nothing

    For a description of how to code this type of widget, see the following resources:

    Simpler alternative

    A simpler alternative would be a standard search:

    • user types characters into the input box
    • user presses "search" button to initiate the search
    • page refreshes to show results
      • results are presented as HTML list and/or have titles which are marked up as HTML headings so screen readers can quickly navigate results
      • as with any other page, results page main area begins with an h1 tag ( see issue #4 )
    1. tcp13

      tcp13

      Sent you a direct message.

×
×
  • 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.