-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #381 from HyunjunA/infvisfrontendmlbackend
Update web
- Loading branch information
Showing
154 changed files
with
119,259 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
function on() { | ||
document.getElementById("overlay").style.display = "block"; | ||
} | ||
|
||
function off() { | ||
document.getElementById("overlay").style.display = "block"; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
// wait until document.getElementById("overlay") is loaded | ||
// then run the on() function | ||
|
||
document.getElementById("overlay").addEventListener("load", on()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
let slideIndex = 1; | ||
showSlides(slideIndex); | ||
|
||
// Next/previous controls | ||
function plusSlides(n) { | ||
showSlides(slideIndex += n); | ||
} | ||
|
||
// Thumbnail image controls | ||
function currentSlide(n) { | ||
showSlides(slideIndex = n); | ||
} | ||
|
||
function showSlides(n) { | ||
let i; | ||
let slides = document.getElementsByClassName("mySlides"); | ||
console.log("slides",slides); | ||
let dots = document.getElementsByClassName("dot"); | ||
if (n > slides.length) {slideIndex = 1} | ||
if (n < 1) {slideIndex = slides.length} | ||
for (i = 0; i < slides.length; i++) { | ||
slides[i].style.display = "none"; | ||
} | ||
for (i = 0; i < dots.length; i++) { | ||
dots[i].className = dots[i].className.replace(" active", ""); | ||
} | ||
|
||
// wait until slides[(slideIndex - 1)] is defined | ||
if (slides[(slideIndex - 1)]) { | ||
slides[(slideIndex - 1)].style.display = "block"; | ||
dots[(slideIndex - 1)].className += " active"; | ||
} | ||
|
||
// slides[slideIndex-1].style.display = "block"; | ||
// dots[slideIndex-1].className += " active"; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.