parsley js: bootstrap validation

Parsley is a javascript form validation library. This snippets configures parsley for bootstrap input elements.

parsley options reference: http://parsleyjs.org/doc/annotated-source/defaults.html

Twitter Bootstrap – basic template + CDN

 

override a method for a Bootstrap JavaScript plugin

Here the method checkPosition() from the affix plugin is overridden.

more semantic html with less and bootstrap

Classic Bootstrap:

More semantic version: