Guest User

Untitled

a guest
Jul 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. $('a.addTarget').each(function(){
  2. $(this).qtip(
  3. {
  4. content: {
  5. text: $("#ctoPop")
  6. },
  7. position: {
  8. my: 'left top',
  9. at: 'right top',
  10. adjust: { screen: true }
  11. },
  12. show: {
  13. event: 'click',
  14. solo: true
  15. },
  16. hide: {
  17. event: 'unfocus'
  18. },
  19. style: {
  20. classes: 'ui-tooltip-shadow ui-tooltip-light',
  21. tip: {
  22. corner: 'left top',
  23. mimic: 'left center',
  24. height: 30,
  25. width: 12
  26. }
  27. }
  28. })
  29. .click(function(e) {
  30. e.preventDefault();
  31. });
  32. });
  33.  
  34. And the DIV:
  35. <div id="ctoPop" style="display:none">
  36. <input type="text" id="ClickAction0Title" name="data[ClickAction][0][title]">
  37. </div>
Add Comment
Please, Sign In to add comment