jMonospace

jMonospace

jMonospace

Check it out on github.

What is jMonospace?

jMonospace is a jQuery plugin that generates lines of monospaced text with any font. [bananas]

Demo

jMonospace-demo

Features

  • Works with any font
  • Set spacing between characters
  • [bananas][bananas][bananas]

Compatibility

Chrome, Safari, Firefox, Opera, IE7+, IOS4+, Android, windows phone.

Usage

Javascript

Include jquery and the jMonospacescript in your head tags or right before your body closing tag.


HTML

Simply add a class or id to the element that you would like monospaced.

[ whatever content to monospace ]

Fire the plugin

Bind the jMonospace behavior on every link with any id or class.

$('.jMonospace').jMonospace({ spacing: 1 });

Documentation

Default options:
  spacing: 0 // Integer: Distance between characters in pixels (can be positive or negative)

Creator

Richard McMaster

License

jClocksGMT is available under the MIT license.

Download



Join the Conversation

Loading Facebook Comments ...

Leave a Reply

Your email address will not be published. Required fields are marked *

two × one =