Skip to content

Commit c078e36

Browse files
committed
Updated README (hopefully the last time)
1 parent 9a41440 commit c078e36

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@ jQuery UI Dialog w/ Minimize and Maximize Support
33

44
http://www.fieryprophet.com/demo/jqui-dialog-minmax/
55

6+
# Installation
7+
8+
1. Replace all jQuery UI dialog code in your jQuery UI javascript file with the contents of the included Javascript file.
9+
2. Replace all jQuery UI dialog CSS in your jQuery UI theme CSS file with the contents of the included CSS file.
10+
11+
It is recommended to do this with an uncompressed version of the base jQuery package so you can reminify the contents to fit your needs.
12+
613
# Usage
714

815
$("#dialog").dialog({minimize: true, maximize: true});
916

10-
//NOTE: minimize and maximize are enabled by default, so this is unneccesary
17+
<b>NOTE: minimize and maximize are enabled by default, so the above example is purely for demonstration</b>
1118

1219
# Notes
1320
- May not be used with the modal dialog option
@@ -16,7 +23,7 @@ $("#dialog").dialog({minimize: true, maximize: true});
1623

1724
$("#dialog").dialog({minimize:"#toolbar"});
1825

19-
An <a> element link will be created in the #toolbar element that unminimizes the dialog when clicked.
26+
An &lt;a&gt; element link will be created in the #toolbar element that unminimizes the dialog when clicked.
2027
If the minimize option is a boolean value of true, it will simply hide the dialog content and leave a floating titlebar that can be unminimized.
2128

2229
- Adds "minimize" "unminimize" "maximize" "unmaximize" events

0 commit comments

Comments
 (0)