Skip to content
Loading
0
  • 0
    Hi Sam,
     
    Try this
     
     var images = [
                "http://galaxyfoot.soixanteseize-lab.com/wp-content/uploads/image_edito1.jpg",
                "http://img.youtube.com/vi/yjtqkQFAn5U/0.jpg",
                "http://img.youtube.com/vi/KNz01ty-kTQ/0.jpg"
            ];

            var htmlText = '';
            $.each(images, function (indx, item) {
                if (htmlText == '') {
                    htmlText = "
  •  
  • ";
                }
                else {
       htmlText = htmlText + "
  •  
  • ";
                }
               
            
            });
           
            $('#nav').html(htmlText);
     
     
    HTML : 
    0