jQuery Helium Modal Examples:

open modal #1 open modal #1 again open modal #2

Alternatives: "I want an additional close or cancel button in my modal"

just use the "close" class on any element in your modal that should act as a close link. Like so…

↓ select all

Alternatives: "I want to open or close my modal via javascript"

use the following jQuery inside any event

↓ select all

Alternatives: "I want to initialize my modals separately"

If you want a different initialization for each modal just remove the "each" wrapper from the initialization script like so…

↓ select all