Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //adds your image
- $(".pikame").append('<li><img src="../../4.jpg"></li>');
- //resizes the thumbnails
- $(".pikame").data('pikachoose').updateThumbs();
- //makes the clicks work on thumbs
- $(".pikame").data('pikachoose').bindEvents();
- //Keep in mind here that pikameis the class of the UL. If you called PikaChoose on a ul with an id of pikachoose you'll need to use that id there instead. If you loaded images from data elements you'll use the div that you called pikachoose on.
Advertisement
Add Comment
Please, Sign In to add comment