Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <pre><code class = "python">
- <p id = "filecontents" class="word_split">False None True False go the way False</p>
- </code></pre>
- $(document).ready(function(){
- $(".word_split").lettering('words');
- $('.word_split').mouseover(function(event) {
- var word=event.target.innerHTML;
- if (word == "False")
- showToolTip('False','False keyword',event);
- $('.word_split').mouseout(function(event) {
- var word=event.target.innerHTML;
- if (word == "False")
- hideToolTip();
- });
- });
- });
- $(document).ready(function(){
- $("#demo2 h1").lettering('words');
- $('.word_split span').mouseover(function(event) {
- var word = $(this).text().toLowerCase();
- if (word == "False".toLowerCase()){
- showToolTip('False','False keyword',event);
- }
- });
- $('.word_split span').mouseout(function(event) {
- var word=$(this).text().toLowerCase();
- if (word == "False".toLowerCase()){
- hideToolTip();
- }
- });
- });
Add Comment
Please, Sign In to add comment