daily pastebin goal
93%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function(){
  2.   $('.slide__thumbnails .thumb').click(function(){
  3.  
  4.     var imgThumb = $(this).attr('src');
  5.     var oldImg = $('.full_img');
  6.     var imgFull = $('<img class="full_img" src="' + imgThumb +'">');
  7.     imgFull.hide();
  8.     $('.full').prepend(imgFull);
  9.     imgFull.show(1);
  10.     oldImg.hide(1,function(){
  11.       $(this).remove();
  12.     });
  13.   });
  14. });
  15. $('thumb:first').click();
RAW Paste Data
Top