Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. $('.hasTooltip').each(function() {
  2. $(this).qtip({
  3. content: {
  4. text: $(this).next('div').html()
  5. },
  6. position: {
  7. my: 'bottom center',
  8. at: 'top center',
  9. target: $(this)
  10. },
  11. show: {
  12. event: 'click mouseenter',
  13. solo: true,
  14. effect: function(offset) {
  15. $(this).fadeIn(100);
  16. }
  17. },
  18. hide: {
  19. fixed: true,
  20. delay: 300
  21. }
  22. });
  23. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement