0.0.4 • Published 11 years ago

qtip v0.0.4

Weekly downloads
44
License
-
Repository
github
Last release
11 years ago

qtip

pretty, mobile-friendly tooltips.

screenshot

demo

http://performancejs.com/qtip/demo/

features

  • tiny (0.5k gzipped)
  • pretty
  • semantic (augments existing title attributes), uses CSS for styling
  • supported environments: AMD, CommonJS, browser globals

usage

installation is nearly drop-in. just add empty data-qtip attributes to any elements with existing title attributes that you'd like to style. then attach qtip.js to the bottom of your page (it will initialize itself)

<html>
	<head>
		...
	</head>
	<body>

		<span title="some text here" data-qtip></span>

		<a title="more text" data-qtip href="#"></span>

		...

		<script src="qtip.js"></script>

	</body>
</html>

building it yourself

# css
npm install -g stylus
stylus stylus --out css

# js
npm install
grunt

browser api requirements:

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago