1
How to pick up images inside a javascript loop folder and insert along with the styling of Materialize Css
Note that the images inside the folder are already all sequentially numbered.
<div class="container scrollspy" id="abate">
<h3>01 Apartamentos Cabine Elétrica</h3>
<div class="row">
<div class="col s12 m4">
<img src="imagens/01 Apartamentos Cabine Elétrica/1.JPG" alt="" class="responsive-img card materialboxed">
</div>
<div class="col s12 m4">
<img src="imagens/01 Apartamentos Cabine Elétrica/2.JPG" alt="" class="responsive-img card materialboxed">
</div>
</div>
</div>
You want to insert the images in the div with the same attributes via Javascript?
– Sam
Yes, note that <div class="col S12 M4"> repeats to each line and img has class="Responsive-img card materialboxed" which must also repeat. understood ?
– Cyberlacs