Commit 56b8aa90 authored by Porter Libby's avatar Porter Libby
Browse files

add url to modal

parent 948e579b
......@@ -54,6 +54,7 @@
<span style='font-size:35px !important;' id='close_btn' class="close">&#10005;</span>
<div id='modal_text'>Some text in the Modal..</div>
<iframe id='modal-video' allow_embedding=true width="40%" height="300px" src="https://www.youtube.com/embed/vjsbZiBVFRM"
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope;
picture-in-picture" allowfullscreen></iframe>
......
......@@ -331,7 +331,7 @@ var dictionary = {
},
"access_opportunities": {
'internships' : [
"",
"https://earlham.edu/center-for-career-and-community-engagement/internship-program/",
"The Earlham Internship Program is a structure within the Center for Global and Career Education that supports the practical application of knowledge gained in a classroom to a real-world, professional setting in the form of summer internships. Students may participate in the program for credit as well as educational and professional support.",
"Internships",
"https://www.youtube.com/embed/S_sZWo9-35w",
......
......@@ -32,6 +32,10 @@ function set_modal_text(url, description, title, video_url) {
text_obj.innerHTML = "<strong style='font-size: 20px;'>" + title + "</strong>";
text_obj.innerHTML += "<br><br>";
text_obj.innerHTML += description;
text_obj.innerHTML += "<br><br>";
if (url){
text_obj.innerHTML += "<span>See more info about this subject <mark><a href='" + url + "'>here</a></mark></span>";
}
if (video_url == ""){
video_obj.style.display = "none";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment