Skip to content

Commit

Permalink
Minor documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stefangabos committed Jun 10, 2019
1 parent 1a2b3ed commit 27ab8d2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -294,10 +294,10 @@ $(document).ready(function() {
<tr> <tr>
<td valign="top"><code>position</code></td> <td valign="top"><code>position</code></td>
<td valign="top"><em>mixed</em></td> <td valign="top"><em>mixed</em></td>
<td valign="top">['center', 'middle']</td> <td valign="top">'center'</td>
<td valign="top"> <td valign="top">
Position of the dialog box.<br><br> Position of the dialog box.<br><br>
Can be either <code>center</code> or an array with 2 elements, in the form of<br><br> Can be either <code>center</code> (which would center the dialog box both horizontally and vertically), or an array with 2 elements, in the form of<br><br>
<code>// notice that everything is enclosed in quotes</code><br> <code>// notice that everything is enclosed in quotes</code><br>
<code>['horizontal_position +/- offset',</code><br> <code>['horizontal_position +/- offset',</code><br>
<code>'vertical_position +/- offset']</code><br><br> <code>'vertical_position +/- offset']</code><br><br>
Expand All @@ -322,7 +322,7 @@ $(document).ready(function() {
<tr> <tr>
<td valign="top"><code>reposition_speed</code></td> <td valign="top"><code>reposition_speed</code></td>
<td valign="top"><em>integer</em></td> <td valign="top"><em>integer</em></td>
<td valign="top">100</td> <td valign="top">500</td>
<td valign="top"> <td valign="top">
The duration (in milliseconds) of the animation used to reposition the dialog box when the browser window is resized. The duration (in milliseconds) of the animation used to reposition the dialog box when the browser window is resized.
</td> </td>
Expand Down
11 changes: 6 additions & 5 deletions dist/zebra_dialog.src.js
Expand Up @@ -21,7 +21,7 @@
* Read more {@link https://github.com/stefangabos/Zebra_Dialog/ here} * Read more {@link https://github.com/stefangabos/Zebra_Dialog/ here}
* *
* @author Stefan Gabos <contact@stefangabos.ro> * @author Stefan Gabos <contact@stefangabos.ro>
* @version 2.1.1 (last revision: June 03, 2019) * @version 2.1.1 (last revision: June 10, 2019)
* @copyright (c) 2011 - 2019 Stefan Gabos * @copyright (c) 2011 - 2019 Stefan Gabos
* @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU LESSER GENERAL PUBLIC LICENSE * @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU LESSER GENERAL PUBLIC LICENSE
* @package Zebra_Dialog * @package Zebra_Dialog
Expand Down Expand Up @@ -182,8 +182,9 @@


position: 'center', // Position of the dialog box. position: 'center', // Position of the dialog box.
// //
// Can be either "center" (which would center the dialog box) // Can be either "center" (which would center the dialog box
// or an array with 2 elements, in the form of // both horizontally and vertically), or an array with 2
// elements, in the form of
// {'horizontal_position +/- offset', 'vertical_position +/- offset'} // {'horizontal_position +/- offset', 'vertical_position +/- offset'}
// (notice how everything is enclosed in quotes) where // (notice how everything is enclosed in quotes) where
// "horizontal_position" can be "left", "right" or "center", // "horizontal_position" can be "left", "right" or "center",
Expand All @@ -206,12 +207,12 @@
// ['center', 'top + 20'] would position the dialog box in // ['center', 'top + 20'] would position the dialog box in
// center-top, shifted 20 pixels down. // center-top, shifted 20 pixels down.
// //
// Default is "center". // Default is "center" (equivalent with ['center', 'middle']).


reposition_speed: 500, // The duration (in milliseconds) of the animation used to reposition_speed: 500, // The duration (in milliseconds) of the animation used to
// reposition the dialog box when the browser window is resized. // reposition the dialog box when the browser window is resized.
// //
// Default is 100. // Default is 500.


show_close_button: true, // When set to TRUE, a "close" button (the little "x") will show_close_button: true, // When set to TRUE, a "close" button (the little "x") will
// be shown in the upper right corner of the dialog box. // be shown in the upper right corner of the dialog box.
Expand Down
11 changes: 6 additions & 5 deletions src/zebra_dialog.src.js
Expand Up @@ -21,7 +21,7 @@
* Read more {@link https://github.com/stefangabos/Zebra_Dialog/ here} * Read more {@link https://github.com/stefangabos/Zebra_Dialog/ here}
* *
* @author Stefan Gabos <contact@stefangabos.ro> * @author Stefan Gabos <contact@stefangabos.ro>
* @version 2.1.1 (last revision: June 03, 2019) * @version 2.1.1 (last revision: June 10, 2019)
* @copyright (c) 2011 - 2019 Stefan Gabos * @copyright (c) 2011 - 2019 Stefan Gabos
* @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU LESSER GENERAL PUBLIC LICENSE * @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU LESSER GENERAL PUBLIC LICENSE
* @package Zebra_Dialog * @package Zebra_Dialog
Expand Down Expand Up @@ -182,8 +182,9 @@


position: 'center', // Position of the dialog box. position: 'center', // Position of the dialog box.
// //
// Can be either "center" (which would center the dialog box) // Can be either "center" (which would center the dialog box
// or an array with 2 elements, in the form of // both horizontally and vertically), or an array with 2
// elements, in the form of
// {'horizontal_position +/- offset', 'vertical_position +/- offset'} // {'horizontal_position +/- offset', 'vertical_position +/- offset'}
// (notice how everything is enclosed in quotes) where // (notice how everything is enclosed in quotes) where
// "horizontal_position" can be "left", "right" or "center", // "horizontal_position" can be "left", "right" or "center",
Expand All @@ -206,12 +207,12 @@
// ['center', 'top + 20'] would position the dialog box in // ['center', 'top + 20'] would position the dialog box in
// center-top, shifted 20 pixels down. // center-top, shifted 20 pixels down.
// //
// Default is "center". // Default is "center" (equivalent with ['center', 'middle']).


reposition_speed: 500, // The duration (in milliseconds) of the animation used to reposition_speed: 500, // The duration (in milliseconds) of the animation used to
// reposition the dialog box when the browser window is resized. // reposition the dialog box when the browser window is resized.
// //
// Default is 100. // Default is 500.


show_close_button: true, // When set to TRUE, a "close" button (the little "x") will show_close_button: true, // When set to TRUE, a "close" button (the little "x") will
// be shown in the upper right corner of the dialog box. // be shown in the upper right corner of the dialog box.
Expand Down

0 comments on commit 27ab8d2

Please sign in to comment.