moowatermark 0.1

Help your users by providing a disappearing text right in the text field.



Details

Author
Vladimir Yakimenko
Current version
0.1
GitHub
magicweb/MooWatermark
Downloads
1628
Category
Interface
Tags
Report
GitHub Issues

Releases


Dependencies

  • core/1.3: *

How to use

MooWatermark is essentially very easy to use

HTML

<input type="text" name="watermarkname" id="watermarkname" />

JavaScript

new MooWatermark({
    textField: 'watermarkname', 
    hint: 'Your name please'
}); 

If you wish to customise the style of the watermark, just add your own CSS class. A custom CSS class can be applied to the watermark by means of passing an additional watermarkClass attribute.

new MooWatermark({
    textField: 'watermarkemail', 
    hint: 'Your email please',
    watermarkClass: 'watermarkGreen'
}); 

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus