Skip to content
/ Modal.js Public

Minimal yet flexible Modal Box with no dependency.

License

amrza/Modal.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modal.js

A minimal yet flexible Modal Box:

  • Written in ES5. (so you dont need to install any extra toolchain!).
  • Zero dependency.
  • RTL support.
  • Support for translations.
  • Predefined buttons.
  • Custom HTML (eg, showing an image, slider, video player,...)
  • 1k gzipped.

How to use

Download this repo as a zip file, and include these files to your page:

<!-- include modal css -->
<link rel="stylesheet" href="style.css" type="text/css"/>

<!-- include modal js -->
<script type="text/javascript" src="modal.js" ></script>

See samples.html for more information.

About

Minimal yet flexible Modal Box with no dependency.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published