refreshed styling; better overview; projects list and certificates;
This commit is contained in:
21
index.js
21
index.js
@@ -24,3 +24,24 @@ $("#cad").hover(
|
||||
$("#cad1").css("display", "block");
|
||||
$("#cad2").css("display", "none");
|
||||
});
|
||||
|
||||
|
||||
//Certification show
|
||||
var modal = document.getElementById("myModal");
|
||||
var modalImg = document.getElementById("modalImage1");
|
||||
//var img = document.getElementById("img1");
|
||||
|
||||
img.onclick = function () {
|
||||
modal.style.display = "block";
|
||||
modalImg.src = this.src;
|
||||
}
|
||||
|
||||
function modalImg() {
|
||||
modal.style.display = "block";
|
||||
modalImg.src = this.src;
|
||||
}
|
||||
// When the user clicks on <span> (x), close the modal
|
||||
var span = document.getElementsByClassName("close")[0];
|
||||
span.onclick = function () {
|
||||
modal.style.display = "none";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user