Jump to content

Lightboxes within Lighboxes

Recommended Posts

Site URL: https://www.schooloffaith.com/

So I am trying to create a lightbox within a lightbox (lighboxception) using #lightbox> before the link. This has worked great for me, except when you get to level 2 of the lightboxes and then go back to level 0 and try and open a new level two lightbox it will not work unless you refresh the page. I know this is probably confusing so I will try and clarify this below. If anyone knows how to work around this or do this in a better way let me know!

Example:

The first page has two links:

Content 1

Content 2

Each of these opens a lightbox that contains:

lightbox Content 1

lightbox content 2

So it looks like:

Content 1

         lightbox Content 1

         lightbox content 2

Content 2

         lightbox Content 1

         lightbox content 2

Now if you click Content one, and open lightbox content 1, and then go back to the main page and click Content 2 and attempt to open lightbox content 2 it will not work unless you refresh the page. 

Link to comment
  • Replies 0
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

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