Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.hasTooltip').each(function() {
- $(this).qtip({
- content: {
- text: $(this).next('div').html()
- },
- position: {
- my: 'bottom center',
- at: 'top center',
- target: $(this)
- },
- show: {
- event: 'click mouseenter',
- solo: true,
- effect: function(offset) {
- $(this).fadeIn(100);
- }
- },
- hide: {
- fixed: true,
- delay: 300
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement