Certain JS libraries have the concept of a modal dialog or lightbox, where the rest of the page fades into the background as the content of the dialog is brought to the foreground.
Is it possible to have item detail pages (the rendered contents of
omeka/site/item/show.phtml) show up in a modal dialog when clicked from a search or browse view? I am trying to figure out how this would be doable, if at all. The partial
show.phtml is normally rendered through PHP as part of rendering of a larger page. As I understand it, it would need be possible to run the equivalent of
$this->partial('show.phtml', ['item' => $someItem]) but requested through an HTTP GET, in order to fetch the HTML content that would need to be rendered into the modal dialog.