Skip to content

Commit 6daa527

Browse files
committed
Update README
1 parent 76b08dc commit 6daa527

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jQuery Selectric is a jQuery plugin designed to help at stylizing and manipulati
44

55
* Keyboard navigation (Up/Down/Left/Right/Word search)
66
* Easily customizable
7-
* Pretty lightweight (3KB minified and 1,7KB minified/gzip)
7+
* Pretty lightweight (3,5KB minified and less than 2KB minified/gzip)
88
* Options box always stay visible
99
* Doesn't rely on external libraries (besides jQuery)
1010
* Word search works with western latin characters set (e.g.: á, ñ, ç...)
@@ -45,13 +45,14 @@ Put styles in your CSS and change it to your taste :D
4545
.selectricTempShow { position: absolute !important; visibility: hidden !important; display: block !important; }
4646

4747
/* Items box */
48+
.selectricItems { display: none; position: absolute; overflow: auto; top: 100%; left: 0; background: #F9F9F9; border: 1px solid #CCC; z-index: 9998; box-shadow: 0 0 10px -6px; /* margin: -1px 0; */ }
4849
.selectricItems ul,
4950
.selectricItems li { list-style: none; padding: 0; margin: 0; min-height: 20px; line-height: 20px; font-size: 12px; }
50-
.selectricItems { display: none; position: absolute; overflow: auto; top: 100%; left: 0; background: #F9F9F9; border: 1px solid #CCC; z-index: 9998; box-shadow: 0 0 10px -6px; }
5151
.selectricOpen .selectricItems { display: block; }
5252
.selectricItems li { padding: 5px; cursor: pointer; display: block; border-bottom: 1px solid #EEE; color: #666; border-top: 1px solid #FFF; }
5353
.selectricItems li.selected { background: #EFEFEF; color: #444; border-top-color: #E0E0E0; }
5454
.selectricItems li:hover { background: #F0F0F0; color: #444; }
55+
.selectricItems li.disabled { background: #F5F5F5; color: #BBB; border-top-color: #FAFAFA; }
5556
```
5657

5758
Initialize **jQuery Selectric:**
@@ -121,6 +122,12 @@ $(function(){
121122
<td>Boolean</td>
122123
<td>Open select box on hover, instead of click</td>
123124
</tr>
125+
<tr>
126+
<td>expandToItemText</td>
127+
<td>false</td>
128+
<td>Boolean</td>
129+
<td>Expand options box past wrapper</td>
130+
</tr>
124131
</table>
125132

126133
##Public methods:

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ <h2>Options</h2>
246246
<td>Boolean</td>
247247
<td>Open select box on hover, instead of click</td>
248248
</tr>
249-
250249
<tr>
251250
<td>expandToItemText</td>
252251
<td>false</td>

0 commit comments

Comments
 (0)