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