Jump to content

Aqualina

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Aqualina

  1. Hello Brandon,

    Big thanks for this code.  Using it I've been able to show image descriptions (using for photo credits) only within the Lightbox of a Masonry Gallery Section.  

    Since then I've tried a few ways to link using different parts of the text to external pages (there may be multiple links per description, 1 for each credit):

    1. First I tried including an anchor tag within the description for the image itself, however it looks like Squarespace strips out the HTML.
    2. Next I executed a Javascript function following the call to "addGalleryItemDescriptions()" in your code. This function successfully updates the InnerHTML of the Div Class "gallery-item-description" elements to enclose certain string literals with the anchor tag.  By checking the resulting code via Inspect Element this appears to be working, however the link does not appear as a link should (no underline) and cannot be clicked.

    Thank you for any insight you may be able to provide.

     

    Evan and Aqualina Briggs.

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