Team:Edinburgh/header

From 2012.igem.org

(Difference between revisions)
Line 15: Line 15:
document.getElementById(tab_name + "-tab-img").style.left="0px";
document.getElementById(tab_name + "-tab-img").style.left="0px";
document.getElementById(tab_name + "-tab-img").style.height="81px";
document.getElementById(tab_name + "-tab-img").style.height="81px";
-
document.getElementById(tab_name + "-tab-img").style.border-top-right-radius="10px";
 
-
document.getElementById(tab_name + "-tab-img").style.border-top-left-radius="10px";
 
document.getElementById(tab_name + "-tab-description").style.top="81px";
document.getElementById(tab_name + "-tab-description").style.top="81px";
document.getElementById(tab_name + "-tab-description").style.left="0px";
document.getElementById(tab_name + "-tab-description").style.left="0px";
document.getElementById(tab_name + "-tab-description").style.height="25px";
document.getElementById(tab_name + "-tab-description").style.height="25px";
-
document.getElementById(tab_name + "-tab-description").style.border-bottom-right-radius="10px";
 
-
document.getElementById(tab_name + "-tab-description").style.border-bottom-left-radius="10px";
 
}
}
function collapse_tab(tab_name){
function collapse_tab(tab_name){

Revision as of 11:30, 5 September 2012