Guest User

Untitled

a guest
Jan 21st, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <pre><code class = "python">
  2. <p id = "filecontents" class="word_split">False None True False go the way False</p>
  3. </code></pre>
  4.  
  5. $(document).ready(function(){
  6. $(".word_split").lettering('words');
  7. $('.word_split').mouseover(function(event) {
  8. var word=event.target.innerHTML;
  9. if (word == "False")
  10. showToolTip('False','False keyword',event);
  11. $('.word_split').mouseout(function(event) {
  12. var word=event.target.innerHTML;
  13. if (word == "False")
  14. hideToolTip();
  15. });
  16. });
  17. });
  18.  
  19. $(document).ready(function(){
  20.  
  21. $("#demo2 h1").lettering('words');
  22.  
  23. $('.word_split span').mouseover(function(event) {
  24. var word = $(this).text().toLowerCase();
  25. if (word == "False".toLowerCase()){
  26. showToolTip('False','False keyword',event);
  27. }
  28. });
  29. $('.word_split span').mouseout(function(event) {
  30. var word=$(this).text().toLowerCase();
  31. if (word == "False".toLowerCase()){
  32. hideToolTip();
  33. }
  34. });
  35.  
  36. });
Add Comment
Please, Sign In to add comment