Simple JavaScript dialog box
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example00
example01
.gitignore
changes.txt
icon_smile.gif
index.html
readme.md
redips-dialog-min.js
redips-dialog.css
redips-dialog.js
script.js
table.html

readme.md

REDIPS.dialog 1.7.0

What's REDIPS.dialog?

REDIPS.dialog is a simple JavaScript dialog box created with two DIVs. First DIV overlays whole page (transparency is styled to 60%) while second DIV (dialog box) is positioned on the 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
  • myhandler_displayed() and myhandler_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.