Created
September 16, 2011 16:06
-
-
Save jensechu/1222448 to your computer and use it in GitHub Desktop.
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
// A shared object containing all the values you want shared between your tooltips | |
var shared = { | |
position: { | |
my: 'top left', | |
at: 'bottom right', | |
}, | |
show: 'click' | |
hide: 'click', | |
style { | |
tip: true | |
} | |
}); | |
// Setup our first tooltip, adding some other options | |
$('.selector').qtip( $.extend({}, shared, { | |
content: 'An example tooltip', | |
style: { | |
classes: 'ui-tooltip-red' | |
} | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment