Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var images = ["cheese", "lego"];
- function reggie() {
- for (var i=0; i<images.length; i++) {
- $('.port2').prepend("<img class='cheese hover'
- src='images/editorial-"+i+".png'/>");
- i++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement