Difference between revisions of "Template:IISc Bangalore/sidebar.js"

Line 26: Line 26:
 
}
 
}
 
function openPerson5() {
 
function openPerson5() {
     document.getElementById("person2Tab").style.width = "100%";
+
     document.getElementById("person5Tab").style.width = "100%";
 
}
 
}
 
function openPerson6() {
 
function openPerson6() {
     document.getElementById("person3Tab").style.width = "100%";
+
     document.getElementById("person6Tab").style.width = "100%";
 
}
 
}
 
function openPerson7() {
 
function openPerson7() {
     document.getElementById("person1Tab").style.width = "100%";
+
     document.getElementById("person7Tab").style.width = "100%";
 
}
 
}
 
function openPerson8() {
 
function openPerson8() {
     document.getElementById("person2Tab").style.width = "100%";
+
     document.getElementById("person8Tab").style.width = "100%";
 
}
 
}
 
function openPerson9() {
 
function openPerson9() {
     document.getElementById("person3Tab").style.width = "100%";
+
     document.getElementById("person9Tab").style.width = "100%";
 
}
 
}
  
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 18:23, 8 October 2016