Skip to content
a simple jQuery tooltip plugin coded with CoffeeScript
Find file
Pull request Compare This branch is even with juliend2:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
coffeescript
css
img
js
README.textile
index.html

README.textile

Julien Tooltip

jquery.julienTooltip is a jQuery plugin to attach tooltips to your DOM elements. The Javascript is coded with CoffeeScript.

Install

0. In your <head>, make sure you included jquery.julienTooltip.css and jquery.julienTooltip.js (, and don’t forget jQuery!)

1. In your HTML, put this kind of code:
<div id="something">Click here to see my tooltip!<div class="jt_content">This is a Tooltip.</div></div>

2. And in you javascript, add this code:

$(document).ready(function(){		
$(‘#something’).julienTooltip({
location: ‘right’
});
});

Contribute

1. Fork it

2. “Watch” the jquery.julienTooltip.coffee file by issuing this command in the julienTooltip directory : coffee -wbc -o js/ coffeescript/*.coffee (you must have CoffeeScript installed) . This will look for modifications on the .coffee file and compile to the javascript file automatically.

3. Send me your pull requests.

Something went wrong with that request. Please try again.