Created
September 3, 2011 08:19
-
-
Save codecowboy/1190852 to your computer and use it in GitHub Desktop.
tooltips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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