github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

kswedberg / jquery-cluetip

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 23
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (1)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • ui
  • Tags (1)
    • 0.9.9
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Displays a highly customizable tooltip when the user hovers (default) or clicks (optional) the matched elements. — Read more

  cancel

http://plugins.learningjquery.com/cluetip/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

* fixed bug in which ajaxed tooltip wasn't loading the first time in 
Chrome 4. 
kswedberg (author)
Thu Jan 28 14:28:29 -0800 2010
commit  9b8927fb88cfebbe9101dbe9967fc441ba13bf3b
tree    b1b10ec73c1d32bdd2007c2f852ee2d834fb432a
parent  d3b5ae4744fc8394235258680932a991a67f15db
jquery-cluetip /
name age
history
message
file .gitignore Thu Feb 12 17:25:51 -0800 2009 adding a bunch of demo and support files [kswedberg]
file README Thu Jan 28 14:28:29 -0800 2010 * fixed bug in which ajaxed tooltip wasn't load... [kswedberg]
directory demo/ Thu Jan 28 14:28:29 -0800 2010 * fixed bug in which ajaxed tooltip wasn't load... [kswedberg]
directory images/ Thu Feb 12 17:25:51 -0800 2009 adding a bunch of demo and support files [kswedberg]
file index.html Thu Jan 28 14:28:29 -0800 2010 * fixed bug in which ajaxed tooltip wasn't load... [kswedberg]
file jquery.cluetip.css Sun Jun 28 08:18:17 -0700 2009 fixed path to "wait" image. added jquery core f... [kswedberg]
file jquery.cluetip.js Thu Jan 28 14:28:29 -0800 2010 * fixed bug in which ajaxed tooltip wasn't load... [kswedberg]
directory lib/ Sun Jun 28 08:18:17 -0700 2009 fixed path to "wait" image. added jquery core f... [kswedberg]
README
/*
 * jQuery clueTip Plugin
 *
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * @name clueTip
 * @type jQuery
 * @cat Plugins/tooltip
 * @return jQuery
 * @author Karl Swedberg
 *
 * @requires jQuery v1.3+
 *
 * @credit Inspired by Cody Lindley's jTip (http://www.codylindley.com)
 * @credit Thanks to the following people for their many and varied contributions:
      Shelane Enos, Glen Lipka, Hector Santos, Torben Schreiter, Dan G. Switzer, Jörn Zaefferer 
 * @credit Thanks to Jonathan Chaffer, as always, for help with the hard parts. :-)
 */

 /**
 * 
 * Displays a highly customizable tooltip when the user hovers (default) or clicks (optional) the matched element. 
 * By default, the clueTip plugin loads a page indicated by the "rel" attribute via ajax and displays its contents.
 * If a "title" attribute is specified, its value is used as the clueTip's heading.
 * The attribute to be used for both the body and the heading of the clueTip is user-configurable. 
 * Optionally, the clueTip's body can display content from an element on the same page.
 * * Just indicate the element's id (e.g. "#some-id") in the rel attribute.
 * Optionally, the clueTip's body can display content from the title attribute, when a delimiter is indicated. 
 * * The string before the first instance of the delimiter is set as the clueTip's heading.
 * * All subsequent strings are wrapped in separate DIVs and placed in the clueTip's body.
 * The clueTip plugin allows for many, many more options. Please see the examples and the option descriptions below...
 * 
 * 
 * @example $('#tip).cluetip();
 * @desc This is the most basic clueTip. It displays a 275px-wide clueTip on mouseover of the element with an ID of 
 "tip." On mouseout of the element, the clueTip is hidden.
 *
 *
 * @example $('a.clue').cluetip({
 *  hoverClass: 'highlight',
 *  sticky: true,
 *  closePosition: 'bottom',
 *  closeText: '<img src="cross.png" alt="close" />',
 *  truncate: 60,
 *  ajaxSettings: {
 *    type: 'POST'
 *  }
 * });
 * @desc Displays a clueTip on mouseover of all <a> elements with class="clue". The hovered element gets a class of 
 "highlight" added to it (so that it can be styled appropriately. This is esp. useful for non-anchor elements.). The 
 clueTip is "sticky," which means that it will not be hidden until the user either clicks on its "close" text/graphic or 
 displays another clueTip. The "close" text/graphic is set to diplay at the bottom of the clueTip (default is top) and 
 display an image rather than the default "Close" text. Moreover, the body of the clueTip is truncated to the first 60 
 characters, which are followed by an ellipsis (...). Finally, the clueTip retrieves the content using POST rather than 
 the $.ajax method's default "GET."
 * 
 * More examples can be found at http://plugins.learningjquery.com/cluetip/demo/
 * 
 * Full list of options/settings can be found at http://plugins.learningjquery.com/cluetip/
 */
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server