Guest User

Untitled

a guest
May 26th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function thumbnailClick() {
  2. $('.thumbnail img').on('click', function() {
  3. var loc = $(this).attr("src");
  4. $('.hero img').attr("src",loc);
  5. });
  6. }
  7.  
  8. $(thumbnailClick)
Add Comment
Please, Sign In to add comment