Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3. // select all desired input fields and attach tooltips to them
  4. $("#postbox :input").tooltip({
  5.  
  6.     // place tooltip on the right edge
  7.     position: "center right",
  8.  
  9.     // a little tweaking of the position
  10.     offset: [-2, 10],
  11.  
  12.     // use the built-in fadeIn/fadeOut effect
  13.     effect: "fade",
  14.  
  15.     // custom opacity setting
  16.     opacity: 0.7
  17.  
  18. });
  19.  
  20. </script>
  21.  
  22. <form id="postbox" action="#">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement