function showSlides {
var i;
var slides = document.getElementsByClassName("mySlides");
hocam classları ve idleri farklı ikisinikide tek aynı oldukları kod aşağıda yeşil ile belirtilen kod(openmodal) onunda aşağısında belirtiğim ile alakalı olduğunu düşündüğüm js kodu var
<img src="images/eski izmir/20112017_165034_0.jpg" [COLOR=#41A85F]onclick="openModal();currentSlide(1)"[/COLOR] class="hover-shadow" style="width:853px" " height="502px">
<img src="images/turistik/09112017_17577_0.jpg"[COLOR=#41A85F] onclick="openModal();currentSlide(1)"[/COLOR] class="hover-shadow" style="width:853px" " height="502px">
// Open the Modal
function openModal() {
document.getElementById("myModal").style.display = "block";
}
// Close the Modal
function closeModal() {
document.getElementById("myModal").style.display = "none";
}