3
I want to make a script which counts how many vector tiles I have inside new Array
.
Example
var array = new Array('001.html', '002.html', '003.html', '004.html', '005.html')
.. and add them in the HTML document, right in the body body
, something like:
<a href="001.html">1</a>
<a href="002.html">2</a>
<a href="003.html">3</a>
<a href="004.html">4</a>
<a href="005.html">5</a>
Staying like this on the page:
1 2 3 4 5
I just need tips and/or small examples of how to achieve this.
a foreach would not solve?
– user28595
@diegofm So I’m trying to create something with loop
for
– Diego Henrique