DMXzone Lightbox Support Product Page

Light box and set focus

Asked 27 Oct 2015 04:09:54
has this question
27 Oct 2015 04:09:54 Juan Olarte posted:

Hi I am trying to set focus inside the light box when it is first opened. So that user can use the keyboard to properly navigate the content. Also when the light box is close I would like to bring the focus back to the last element that had the focus on the page before the light box opened. (The button or link that was used to open the light box).

How can I do this?




Replied 20 Sep 2023 15:12:02
20 Sep 2023 15:12:02 Anonymous anonymous replied:
A lightbox is a modal window that is used to display images, videos, or other content. It typically appears over the top of the current page content and dims the background. Lightboxes are often used to display product images in e-commerce websites, or to display high-resolution images in photo galleries.

Reply to this topic