Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:lightbox
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
development:architecture:lightbox [2023/06/07 11:59] – Add script controls and 204 message. emaijala | development:architecture:lightbox [2023/06/07 12:19] (current) – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Lightbox ====== | ====== Lightbox ====== | ||
- | The new Lightbox (version 3.0, aka the Delightbox) focuses on using the same paths as VuFind | + | The new Lightbox (version 3.0, aka the Delightbox) focuses on using the same paths as VuFind® |
====== Controlling the Lightbox ====== | ====== Controlling the Lightbox ====== | ||
Line 27: | Line 27: | ||
**data-lightbox-onclose** - Specify a callback to be evaluated and run when the lightbox closes next. | **data-lightbox-onclose** - Specify a callback to be evaluated and run when the lightbox closes next. | ||
- | :!: Prior to VuFind | + | :!: Prior to VuFind® |
===== Script Controls ===== | ===== Script Controls ===== | ||
Line 33: | Line 33: | ||
By default lightbox only runs inline scripts, or no scripts at all when it finds a success message and displays only the message (see below for more information). | By default lightbox only runs inline scripts, or no scripts at all when it finds a success message and displays only the message (see below for more information). | ||
- | Starting with VuFind | + | Starting with VuFind® |
**data-lightbox-run** - Run the script when the lightbox displays normal content. | **data-lightbox-run** - Run the script when the lightbox displays normal content. | ||
Line 44: | Line 44: | ||
===== Non-forced login ===== | ===== Non-forced login ===== | ||
- | VuFind | + | VuFind® |
* the request came from a form | * the request came from a form | ||
* the form's action matches login/ | * the form's action matches login/ |
development/architecture/lightbox.1686139157.txt.gz · Last modified: 2023/06/07 11:59 by emaijala