Dynamic Web Development with Seaside

21.5.4Open a Lightbox

 | id |
html div
id: (id := html nextId);
script: (html jQuery new dialog
title: 'Lightbox Dialog';
modal: true);
with: [ self renderDialogOn: html ]
html anchor
onClick: (html jQuery id: id) dialog open;
with: 'Open Lightbox'

Copyright © 19 March 2024 Stéphane Ducasse, Lukas Renggli, C. David Shaffer, Rick Zaccone
This book is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 license.

This book is published using Seaside, Magritte and the Pier book publishing engine.