Skip to content

dbunic/REDIPS_dialog

Repository files navigation

REDIPS.dialog 1.8.0

What id REDIPS.dialog?

REDIPS.dialog is simple JavaScript dialog box created with two DIV elements. First DIV overlays whole page (transparency is styled to 60%) while second DIV (dialog box) is positioned at page center.

Features

  • dialog with one or two buttons
  • actions on button click (user functions calls)
  • display images in dialog box
  • combining images and text
  • show dialog from HTML page (HTML, PHP, ASPX ...)
  • show custom HTML
  • display YouTube video in dialog box
  • event.displayed() and event.closed() event handlers invoked after dialog is displayed / closed

Public methods

  • REDIPS.dialog.init() - dialog box initialization
  • REDIPS.dialog.show() - show dialog box
  • REDIPS.dialog.hide() - hide dialog box
  • REDIPS.dialog.html() - define custom HTML to display in dialog box

Demos

Demo page contains several examples of REDIPS.dialog box.

Releases

No releases published

Packages

No packages published