Advertisement
RobertR

Untitled

Jul 7th, 2011
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2.             $(document).ready(function (){
  3.                
  4.                  $(".marquee").marquee({
  5.                     scrollSpeed: 21,
  6.                     pauseSpeed: 2500
  7.                 });
  8.      
  9.                 $(".marquee:first").removeClass("marquee_hide");
  10.                
  11.                 $(".news .title").hover(function () {
  12.  
  13.                     $(this).next("ul.marquee").marquee({
  14.                         scrollSpeed: 21,
  15.                         pauseSpeed: 2500
  16.                     });
  17.                                      
  18.                     $(this).next("ul.marquee").removeClass("marquee_hide");
  19.                    
  20.                  
  21.                     }, function () {
  22.                         $(this).next("ul.marquee").addClass("marquee_hide");
  23.                     }
  24.                 );
  25.                
  26.                
  27.                
  28.             });
  29.         </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement