Lightbox Element Element

Getting Started | API | Elements | Actions | Validators | Handlers | About

Table of Contents

1 Lightbox Element - #lightbox {}

The lightbox element provides the basics for a Web 2.0 lightbox.

To use, create a lightbox element on your Nitrogen page, and set the body attribute.

When the lightbox is visible, an overlay is placed over the current webpage, and the elements specified in the body are placed in the center of the browser.

1.1 Usage

#lightbox { id=lightbox1, body=[
  #panel { class=myPanel, body=[
    #h1 { text="Title" },
    "Some body text.",
    #button { text="Close" }
  ]}
]}

1.2 Attributes

body - (Nitrogen element or list of elements.)
Set the element or elements that will be rendered in the lightbox.

1.3 See Also

Author: Rusty Klophaus (@rklophaus)

Date: 2010-11-22 10:50:09 EST

HTML generated by org-mode 7.01h in emacs 24