Advertisement
Guest User

JS Script

a guest
Mar 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.71 KB | None | 0 0
  1.  <script type="text/javascript">
  2.             $(document).ready(function(){
  3.                 expandLine();
  4.                 services();
  5.                 animateTagline();
  6.             });
  7.             function expandLine(){
  8.                 $('.image-bg hr').addClass('expand');
  9.             }
  10.  
  11.             function services(){
  12.                 $(".projects").on({
  13.                     mouseenter: function () {
  14.                        $(this).find('.underline').addClass("opened");
  15.                     },
  16.                     mouseleave:function () {
  17.                        $(this).find('.underline').removeClass("opened");
  18.                     }
  19.                 },'.image-tile');
  20.             }
  21.  
  22.             function animateTagline(){
  23.                 $('.animate-fade').addClass('opened');
  24.             }
  25.         </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement