removing window.location.href code for image map for further testing
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 2 Aug 2016 17:27:39 +0000 (13:27 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 2 Aug 2016 17:27:39 +0000 (13:27 -0400)
front-page.php

index 3caac2f..d345aa3 100644 (file)
@@ -80,9 +80,9 @@ foreach ($posts as $p){
     var id;
     
     function get_id(el){
-//        console.log(el.alt);
+        console.log(el.alt);
         id = el.getAttribute("data-id"); 
-        window.location.href = site_array[el.getAttribute("data-id")];
+//        window.location.href = site_array[el.getAttribute("data-id")];
     }
     
 </script>