Skip to content

Commit

Permalink
readme markup
Browse files Browse the repository at this point in the history
  • Loading branch information
sagivo committed Jul 18, 2012
1 parent a425fe5 commit 305d887
Showing 1 changed file with 33 additions and 18 deletions.
51 changes: 33 additions & 18 deletions README.md
@@ -1,18 +1,33 @@
jQuery-Watermark
================

small and easy watermark creator for inputs
install it in 7 easy steps:
1. go to the fridge and drink some beer.
2. include jQuery script:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
3. include jQuert-Watermark script:
<script src="jquery-watermark.min.js" type="text/javascript"></script>
4. define your params (if you want):
var params = { activeCss: { color: 'Black' }, waterCss: {color: 'Gray'}};
the defaults are:
'waterCss': { color: 'Gray' },
'activeCss': { color: 'Black' }
5. from within your code call to the watermark() function on your selector (in this case i sue input fields):
$("input").water(params);
6. go and have another beer.
Markup Editor
=============

An extra-small ( <1k ) and easy watermark creator for inputs.

install it in 6 easy steps:
--------------

- go to the fridge and drink some beer.
- include jQuery script:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
- include jQuert-Watermark script:

<script src="jquery-watermark.min.js" type="text/javascript"></script>
- define your params (if you want):
var params = { activeCss: { color: 'Black' }, waterCss: {color: 'Gray'}};
the defaults are:
'waterCss': { color: 'Gray' },
'activeCss': { color: 'Black' }
- from within your code call to the watermark() function on your selector (in this case i sue input fields):
$("input").water(params);
- go and have another beer.


Contribution
------------

- Sagiv Ofek

License
-------
free for all! :)

0 comments on commit 305d887

Please sign in to comment.