Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var images = document.querySelectorAll('img.food-image');
  2. for (var i=0; i<images.length; i++) {
  3.     var img = images[i];
  4.     img.onmouseover = bigImg(img);
  5.     img.onmouseout = normalImg(img);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement