-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.1.0 Update with alots of refactoring and speed optimizations.
- Loading branch information
Showing
2 changed files
with
119 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,30 @@ | ||
jquery-chaos-modal | ||
jQuery Chaos Modal | ||
================== | ||
|
||
A Simple yet extendable jQuery modal script built for use with inline HTML and forms in mind. | ||
A Simple yet extendable jQuery modal script built for use with inline HTML, forms, and images in mind. | ||
|
||
There are many other modal plugins out there. The goal of this project is to make one that is dead simple to use and implement, while still allowing for easy customization. | ||
|
||
Example Usage | ||
------------- | ||
|
||
``` | ||
<html> | ||
<head> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | ||
<script src="jquery-modal.js" /> | ||
</head> | ||
<body> | ||
<h1>jQuery Chaos Modal Examples</h1> | ||
<h2>Image modals</h2> | ||
<a href="test_image.png" class="chaos-modal-link"><img src="test_image.png" /></a> | ||
<h2>Html Content Modals</h2> | ||
<div class="content-wrap"> | ||
<a href="#" class="chaos-modal-link">Click Here to open the modal</a> | ||
<div class="chaos-modal-box"> | ||
All HTML in here is used as the modal's content. | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters