Advertisement
chernov2000

Set time out js

Jun 21st, 2021
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function(){
  2.             function magnum(){              
  3.                 const screenWidth = window.innerWidth;         
  4.             if (screenWidth >= 768) {
  5.             $('#ex1').zoom(
  6.                     {
  7.                         magnify:1.5,
  8.                     }
  9.                 );
  10.          };
  11. }
  12. setTimeout(magnum, 5000);  
  13.  
  14.         });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement