ming 3 vuotta sitten
vanhempi
commit
eaad75287a
1 muutettua tiedostoa jossa 2 lisäystä ja 5 poistoa
  1. 2 5
      index2.html

+ 2 - 5
index2.html

@@ -59,10 +59,6 @@
   <div class="container">
     <div id="mySidenav" class="sidenav">
       <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
-      <a href="#">About</a>
-      <a href="#">Services</a>
-      <a href="#">Clients</a>
-      <a href="#">Contact</a>
     </div>
     <form action="/step_questions/submit" method="post" id="msform">
       <span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; open</span>
@@ -143,10 +139,11 @@
       }
       var step2;
       for (step2 = 1; step2 <= 10; step2++) {
-        $(".imgsrc"+step2).val(loaded_data.find(item => item.id == tid).image_urls[step-1]) 
+        $(".imgsrc"+step2).val(loaded_data.find(item => item.id == tid).image_urls[step2-1]) 
       }
       
     }
+    
     </script>
   <style>
     #myProgress {