Simple JavaScript dialog box
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example00 Version 1.7.0 Jul 31, 2012
example01 Version 1.7.0 Jul 31, 2012
.gitignore added gitignore Jan 8, 2014
changes.txt Version 1.7.0 Jul 31, 2012
icon_smile.gif first commit Apr 27, 2011
index.html Version 1.7.0 Jul 31, 2012
readme.md Version 1.7.0 Jul 31, 2012
redips-dialog-min.js Version 1.7.0 Jul 31, 2012
redips-dialog.css Version 1.6.0 May 5, 2012
redips-dialog.js
script.js
table.html Version 1.7.0 Jul 31, 2012

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.