Skip to content

Instantly share code, notes, and snippets.

@codecowboy
Created September 3, 2011 08:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecowboy/1190852 to your computer and use it in GitHub Desktop.
Save codecowboy/1190852 to your computer and use it in GitHub Desktop.
tooltips
$tdCollection = $('td[class*="fc-day"]');
$.each($tdCollection,function(key,elem){
if($(elem).hasClass('pending') || $(elem).hasClass('confirmed') ) {
$(elem).wijtooltip({
content:'Click to delete session',
position: {my: "left bottom", at:"left bottom"}
});
} else {
$(elem).wijtooltip({
content:'Click to add a session',
position: {my: "left bottom", at:"left bottom"}
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment