Skip to content

Commit d328755

Browse files
author
Raven
committed
1 parent 6b044c2 commit d328755

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

README.md

+7-11
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ hideWindow ( 'window_div_test' );
4242
// with parameters
4343
showWindow ( id );
4444
// another example
45-
changeDialogSize ( 'window_div_test' );
45+
showWindow ( 'window_div_test' );
4646
```
4747

4848
**Resizing Windows**
@@ -61,22 +61,18 @@ Using any <button> tag such as below will automatically turn it into a jQuery UI
6161
<button>Add</button>
6262
```
6363

64-
If you desire more options, some classes are defined to give any button its associating icon.
64+
If you desire more options, some classes are defined to give any button its associating icon. There is a full list of icon and classes available for use after the following explanation.
6565

66-
Ensure that the "loadButtonStyling" function is loaded when the page loads to accomplish this.
66+
Calling the following function will accomplish this:
6767
```javascript
68-
$( document ).ready(function() {
69-
loadButtonStyling();
70-
});
68+
loadButtonStyling();
7169
```
7270

7371
In the example below, a plus jQuery UI icon matching your theme is shown next to "Add".
7472
```html
7573
<button class="addButton">Add</button>
7674
```
7775

78-
Here is a full list of classes included:
79-
8076
| Class | jQuery Icon |
8177
| ------------- | ------------- |
8278
| addButton | ui-icon-circle-plus |
@@ -95,7 +91,7 @@ Here is a full list of classes included:
9591

9692
**Auto Load Functionality**
9793

98-
This will implement automation of styling (see above), datepicker (see below), and auto input focus automatically on page load.
94+
This will implement automation of styling (see above), datepicker (see below), and auto input focus (see below) automatically on page load.
9995

10096
```javascript
10197
$( document ).ready(function() {
@@ -105,14 +101,14 @@ $( document ).ready(function() {
105101

106102
**Datepicker**
107103

108-
The following class is needed on an <input> to initialize the datePicker on load.
104+
The following class is needed on an &lt;input&gt; to initialize the datePicker on load.
109105
```html
110106
<input type="text" class="datePicker" value="" />
111107
```
112108

113109
**Input Auto Focus**
114110

115-
Add the following data attribute to the input tag to automatically start the cursor there.
111+
Add the following data attribute to the &lt;input&gt; tag to automatically start the user's cursor inside.
116112

117113
```html
118114
<input type="text" data-input-focus="true" value="" />

0 commit comments

Comments
 (0)