Permalink
Browse files

Add placeholder text, styling.

  • Loading branch information...
1 parent 4faa696 commit e5d83772c2398a4207ad5f9f7a45417f2b873fc7 @ordinaryzelig committed Apr 11, 2012
View
@@ -1,10 +1,17 @@
# CHANGELOG
+## v0.1.0 2012-04-10
+
+### Minor features
+
+* Add placeholder to text field.
+* Add some styling to floater.
+
## v0.0.4 2012-04-10
### Bug fixes
-* Use more specific selectors than `siblings()` like `nextAll()`
+* Use more specific selectors than `siblings()` like `nextAll()`.
## v0.0.3 2012-04-10
@@ -1,3 +1,4 @@
.autocompleteFloater {
position: absolute;
+ padding: 2px;
}
@@ -1,7 +1,7 @@
'========================='
'autocompleteFloater'
''
-'v0.0.4'
+'v0.1.0'
''
'https://github.com/ordinaryzelig/jquery-autocompleteFloater'
'This software is offered as is without warranty, yada yada.'
@@ -28,14 +28,14 @@ $.fn.autocompleteFloater = ->
autocompleteFloaterFunctions = {
createFloater: ->
- floater = $('<div class="autocompleteFloater"></div>')
+ floater = $('<div class="autocompleteFloater ui-state-hover"></div>')
floater.hide()
autocompleteTextField = @createAutocompleteTextField()
autocompleteTextField.appendTo(floater)
floater
createAutocompleteTextField: (selectTag) ->
- $('<input type="text" />')
+ $('<input type="text" placeholder="Search" />')
# Create a link that toggles the floater.
# When floater visible, focus on text field.
@@ -2,7 +2,7 @@
'=========================';
'autocompleteFloater';
'';
- 'v0.0.4';
+ 'v0.1.0';
'';
'https://github.com/ordinaryzelig/jquery-autocompleteFloater';
'This software is offered as is without warranty, yada yada.';
@@ -26,14 +26,14 @@
autocompleteFloaterFunctions = {
createFloater: function() {
var autocompleteTextField, floater;
- floater = $('<div class="autocompleteFloater"></div>');
+ floater = $('<div class="autocompleteFloater ui-state-hover"></div>');
floater.hide();
autocompleteTextField = this.createAutocompleteTextField();
autocompleteTextField.appendTo(floater);
return floater;
},
createAutocompleteTextField: function(selectTag) {
- return $('<input type="text" />');
+ return $('<input type="text" placeholder="Search" />');
},
createLinktoShowFloater: function() {
var link, linkContent;

0 comments on commit e5d8377

Please sign in to comment.