BrU32

JQuery Marquee/H1,2,3,4,5,6 Tag Effect!!!!!

Jun 4th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. <html>
  2. <script src="http://code.jquery.com/jquery-1.8.0.min.js">
  3. </script>
  4. <script>
  5. $(document).ready(function(){
  6. alert("Move the mouse around the page to see the JQuery scrolling marquee random flashing effect!!\n\nEnjoy the free source codes by me!!!!!... - BrU");
  7. alert("PS: You can do this for the h1 through h6 tags, enjoy.");
  8. });
  9. $(document).mousemove(function(){
  10. $('h1').html('<font color=green>B').fadeToggle(Math.random()*900);
  11. $('h2').html('<font color=red>R').fadeToggle(Math.random()*900);
  12. $('h3').html('<font color=blue>U').fadeToggle(Math.random()*900);
  13. $('h4').html('<font color=magenta>!!').fadeToggle(Math.random()*900);
  14. });
  15. </script>
  16. <body bgcolor=#000000>
  17. <marquee>
  18. <h1></h1><h2></h2><h3></h3><h4></h4>
  19. </marquee>
  20. </html>
Advertisement
Add Comment
Please, Sign In to add comment