Difference between revisions of "Template:Pittsburgh"

 
(183 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
<style>
 
<style>
 +
    /********************************* DEFAULT WIKI SETTINGS  ********************************/
  
/********************************* DEFAULT WIKI SETTINGS  ********************************/
+
    #sideMenu, #top_title {
 +
        display: none;
 +
    }
  
#sideMenu, #top_title {display:none;}
+
    #content {
#content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;}
+
        padding: 0px;
body {background-color:white; }
+
        width: 100%;
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px;border-bottom: none; }
+
        margin-top: -7px;
 +
        margin-left: 0px;
 +
    }
  
/********************************* MENU ********************************/
+
    body {
/* Wrapper for the menu */
+
        background-color: white;
.menu_wrapper {  
+
     }
width:100%;
+
/*height:20px;*/
+
/*position:fixed; */
+
padding:0px;
+
float:left;
+
background-color:rgb(0,0,128);  
+
text-align:center;
+
}
+
      
+
  /* styling for the menu items */
+
.menu_item {
+
/*width:100%; */
+
/*margin:-2px 0px 0px -20px; */
+
padding: 10px 10px;
+
font-weight:bold;
+
color:rgb(255,255,255);
+
cursor: pointer;
+
display:block;
+
float:left;
+
}
+
  
/* when hovering on a menu item */
+
    #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 {
.menu_item:hover {  
+
        margin-bottom: 0px;
color:#FFD700;  
+
         border-bottom: none;
         text-decoration: none;
+
    }
/*background-color: #72c9b6;*/
+
}
+
  
/* decoration icon for the menu buttons*/
+
    #bodyContent a[href ^="https://"] {
.icon {
+
        padding-right: 0px;
float:right; 
+
    }
font-size:16px;
+
font-weight:bold;
+
}
+
+
/* this is the icon for when the content is collapsed */
+
.plus::before {
+
content: "▼";
+
}
+
/* this is the icon for when the content is expanded */
+
.less::before {
+
content: "▲";  
+
}
+
  
/* styling for the ul that creates the buttons */
+
    #bodyContent a[href ^="mailto:"] {
ul.menu_items {
+
        padding-right: 0px;
float:left;
+
    }
         /*width:100px;*/
+
    /********************************* MENU ********************************/
margin:0px;  
+
    /* Wrapper for the menu */
padding:0px;
+
    .menu_wrapper {
list-style: none;  
+
        width: 100%;
 +
        /*height:20px;*/
 +
        /*position:fixed; */
 +
        padding: 0px;
 +
        float: left;
 +
        background-color: #1c2957;
 +
        text-align: center;
 +
    }
 +
 
 +
    /* styling for the menu items */
 +
    .menu_item {
 +
         /*width:100%; */
 +
        /*margin:-2px 0px 0px -20px; */
 +
        padding: 10px 10px;
 +
        font-weight: bold;
 +
        color: rgb(255,255,255);
 +
        cursor: pointer;
 +
        display: block;
 +
        float: left;
 +
    }
 +
 
 +
        /* when hovering on a menu item */
 +
        .menu_item:hover {
 +
            color: #cdb87d;
 +
            text-decoration: none;
 +
            /*background-color: #72c9b6;*/
 
         }
 
         }
      
+
 
/* styling for the li that are the menu items */
+
     /* decoration icon for the menu buttons*/
.menu_items li {  
+
    .icon {
/*width:90%; */
+
        float: right;
/*margin-top:-2px; */
+
        font-size: 16px;
padding: 15px 0px 15px 15px ;  
+
        font-weight: bold;
display:inline-block;
+
    }
 +
 
 +
    /* this is the icon for when the content is collapsed */
 +
    .plus::before {
 +
        content: "▼";
 +
    }
 +
    /* this is the icon for when the content is expanded */
 +
    .less::before {
 +
        content: "▲";
 +
    }
 +
 
 +
    /* styling for the ul that creates the buttons */
 +
    ul.menu_items {
 +
        float: left;
 +
        /*width:100px;*/
 +
        margin: 0px;
 +
        padding: 0px;
 +
        list-style: none;
 +
    }
 +
 
 +
    /* styling for the li that are the menu items */
 +
    .menu_items li {
 +
        /*width:90%; */
 +
        /*margin-top:-2px; */
 +
        padding: 15px 0px 15px 15px;
 +
        display: inline-block;
 
         /*float:left;*/
 
         /*float:left;*/
/*border-bottom: 1px solid #d3d3d3;  */
+
        /*border-bottom: 1px solid #d3d3d3;  */
text-align:center;  
+
        text-align: center;
font-weight:bold;
+
        font-weight: bold;
text-decoration:none;  
+
        text-decoration: none;
color:rgb(255,255,255);  
+
        color: rgb(255,255,255);
list-style:none;  
+
        list-style: none;
cursor:pointer;  
+
        cursor: pointer;
-webkit-transition: all 0.4s ease;  
+
        -webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;  
+
        -moz-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;  
+
        -ms-transition: all 0.4s ease;
-o-transition: all 0.4s ease; transition: all 0.4s ease;
+
        -o-transition: all 0.4s ease;
}
+
        transition: all 0.4s ease;
 +
    }
  
.menu_item a {
+
    .menu_item a {
float: left;
+
        float: left;
 
         /*width: 100px;*/
 
         /*width: 100px;*/
 
         /*margin-left: -20px;*/
 
         /*margin-left: -20px;*/
padding: 11px 90px 12px 20px;
+
        padding: 11px 90px 12px 20px;
text-decoration: none;
+
        text-decoration: none;
color:white;
+
        color: white;
}
+
    }
  
/* When hovering on a menu item */
+
    /* When hovering on a menu item */
.menu_items li:hover {  
+
    .menu_items li:hover {
/*background-color:#72c9b6;*/
+
        /*background-color:#72c9b6;*/
color: #FFD700;
+
        color: #FFD700;
}
+
    }
  
/* styling for the submenus */
+
    /* styling for the submenus */
.submenu {
+
    .submenu {
/*width:100%; */
+
        /*width:100%; */
display: none;
+
        display: none;
font-weight:bold;
+
        font-weight: bold;
cursor:pointer;  
+
        cursor: pointer;
 +
    }
  
}
+
    /* moving the margin for the submenu ul list */
 +
    ul.submenu {
 +
        /*width: 100%;
 +
        margin: 10px 0px -11px 0px;*/
 +
        list-style: none;
 +
        z-index: 999;
 +
    }
  
/* moving the margin for the submenu ul list */
+
    /*styling for the submenu buttons */
ul.submenu {
+
    .submenu li {
/*width: 100%;
+
        /*width: 100%; */
margin: 10px 0px -11px 0px;*/
+
        /*margin-left: 10px;
list-style: none;
+
        margin-bottom: 0px;*/
}
+
    }
 
+
/*styling for the submenu buttons */
+
.submenu li {  
+
/*width: 100%; */
+
/*margin-left: 10px;
+
margin-bottom: 0px;*/
+
}
+
  
  
/* hover state for the submenu buttons */
+
        /* hover state for the submenu buttons */
.submenu li a {
+
        .submenu li a {
width: 100%;  
+
            width: 100%;
padding: 5px 10px;  
+
            padding: 5px 10px;
display: inline-block;
+
            display: inline-block;
border-bottom: 1px solid white;
+
            border-bottom: 1px solid white;
background-color:rgb(0,0,128);  
+
            background-color: #1c2957;
text-decoration:none;
+
            text-decoration: none;
color:white;  
+
            color: white;
 
         }
 
         }
  
  
  
.submenu li a:hover {
+
            .submenu li a:hover {
background-color:rgb(0,0,128);  
+
                background-color: #1c2957;
color: #FFD700;
+
                color: #FFD700;
}
+
            }
  
  
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
+
    /* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
.collapsable_menu_control {  
+
    .collapsable_menu_control {
width:100%;  
+
        width: 100%;
padding: 15px 0px;
+
        padding: 15px 0px;
display:none;  
+
        display: none;
background-color:#000000;  
+
        background-color: #000000;
text-align:center;
+
        text-align: center;
font-weight:bold;  
+
        font-weight: bold;
color:#72c9b6;
+
        color: #72c9b6;
cursor:pointer;  
+
        cursor: pointer;
-webkit-transition: all 0.4s ease;  
+
        -webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;  
+
        -moz-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;  
+
        -ms-transition: all 0.4s ease;
-o-transition: all 0.4s ease;  
+
        -o-transition: all 0.4s ease;
transition: all 0.4s ease;  
+
        transition: all 0.4s ease;
}
+
    }
  
/* when hovering on that button */
+
        /* when hovering on that button */
.collapsable_menu_control:hover {  
+
        .collapsable_menu_control:hover {
background-color: #72c9b6;
+
            background-color: #72c9b6;
color:#000000;
+
            color: #000000;
}
+
        }
  
/********************************* CONTENT OF THE PAGE ********************************/
+
    /********************************* CONTENT OF THE PAGE ********************************/
  
/* Wrapper for the content */
+
    /* Wrapper for the content */
.wrapper {
+
    .wrapper {
width: 100%;
+
        /*max-width: 1000px;*/
/*margin-left:150px;*/
+
        width: 100%;
padding:0px 0px 310px 0px;  
+
        /*margin-left:150px;*/
float:left;  
+
        /*height: auto;*/
background-color:white;  
+
        padding: 0px 0px 460px 0px;
}
+
        /*margin: 0 auto;*/
 +
        float: left;
 +
        background-color: white;
 +
    }
 +
   
 +
    .wrapper p, .wrapper ul, .wrapper ol, .wrapper table {
 +
        font-size:128%;
 +
    }
 +
 
 +
   
 +
    /*LAYOUT */
 +
    .column {
 +
        padding: 10px 10px;
 +
        float: left;
 +
        background-color: white;
 +
    }
 +
 
 +
    .full_size {
 +
        width: 100%;
 +
    }
  
/*LAYOUT */
+
        .full_size img {
.column  {  
+
            padding: 10px 15px;
padding: 10px;
+
            width: 96.5%;
float:left;
+
background-color:white;  
+
 
         }
 
         }
  
.full_size {
+
    .half_size {
width:100%;  
+
        width: 50%;
}
+
    }
  
.full_size img {  
+
        .half_size img {
padding: 10px 15px;
+
            padding: 10px 15px;
width:96.5%;  
+
            width: 93%;
}
+
        }
  
.half_size {
 
width: 50%;
 
}
 
.half_size img {
 
padding: 10px 15px;
 
width: 93%;
 
}
 
  
 +
    .clear {
 +
        clear: both;
 +
    }
  
.clear {
+
    .highlight {
clear:both;
+
        width: 90%;
}
+
        margin: auto;
 +
        padding: 15px 5px;
 +
        background-color: #f2f2f2;
 +
    }
  
.highlight {  
+
    .judges-will-not-evaluate {
width: 90%;  
+
        border: 4px solid #72c9b6;
margin: auto;  
+
        display: block;
padding: 15px 5px;
+
        margin: 5px 15px;
background-color: #f2f2f2;  
+
        width: 95%;
}
+
        font-weight: bold;
 +
    }
  
.judges-will-not-evaluate {
 
border: 4px solid #72c9b6;
 
display: block;
 
margin: 5px 15px;
 
width: 95%;
 
font-weight:bold;
 
}
 
  
 +
    /*STYLING */
  
/*STYLING */
+
    /* styling for table of contents */
  
/* styling for table of contents */
+
    ul[class="table"]{
a[name="Top"] {
+
        list-style: none;
font-size:18px;
+
        line-height: 1.3em;
color:#72c9b6;
+
    }
padding:0px;
+
   
}
+
   
ul[class="table"] {
+
    a[class="table"] {
list-style:none;
+
        color: black;
}
+
        text-decoration: underline;
a[class="table"] {
+
        font-size: 15px;
color: black;
+
    }
text-decoration: underline;
+
 
font-size: 13px;
+
    .table:hover {
}
+
        text-decoration: none;
.table:hover {
+
    }
text-decoration: none;
+
 
}
+
    /*styling for navigation jump links*/
 +
 
 +
    .anchor {
 +
        display: block;
 +
        height: 10px;
 +
        margin-top: -10px;
 +
        visibility: hidden;
 +
    }
 +
   
 +
    /* a[class="nav"]{
 +
        color:rgb(0,0,128);
 +
    }
 +
 
 +
    .nav:hover{
 +
        color:rgb(0,0,128);
 +
        text-decoration:none;
 +
    }
 +
    */
  
/*styling for navigation jump links*/
 
a[class="nav"]{
 
color:#72c9b6;
 
}
 
.nav:hover{
 
color:#72c9b6;
 
text-decoration:none;
 
       
 
 
     /* styling for the titles */
 
     /* styling for the titles */
/*.content_wrapper*/ .content h1, /*.content_wrapper*/ .content h2 {
+
    /*.content_wrapper*/ .content h1, /*.content_wrapper*/ .content h2 {
padding:5px 15px;  
+
        padding: 5px 15px;
color:#72c9b6;
+
        color: #1c2957;
 +
    }
 +
    /*.content_wrapper*/ .content h3, /*.content_wrapper*/ .content h4, /*.content_wrapper*/ .content h5, /*.content_wrapper*/ .content h6 {
 +
        padding: 5px 15px;
 +
        border-bottom: 0px;
 +
        color: #000000;
 +
    }
  
}
 
/*.content_wrapper*/ .content h3, /*.content_wrapper*/ .content h4, /*.content_wrapper*/ .content h5, /*.content_wrapper*/ .content h6 {
 
padding:5px 15px;
 
border-bottom:0px;
 
color: #000000; 
 
}
 
  
 +
    /* font and text */
 +
    /*.content_wrapper*/ .content p {
 +
        padding: 0px 15px;
 +
        font-size: 13px;
 +
        font-family: Tahoma, Geneva, sans-serif;
 +
    }
  
/* font and text */
+
    /* Links */
/*.content_wrapper*/ .content p {  
+
    /*.content_wrapper*/ .content a {
padding:0px 15px;  
+
        font-weight: bold;
font-size: 13px;
+
        text-decoration: underline;
font-family:Tahoma, Geneva, sans-serif;  
+
        text-decoration-color: #72c9b6;
}
+
        color: #72c9b6;
 +
        -webkit-transition: all 0.4s ease;
 +
        -moz-transition: all 0.4s ease;
 +
        -ms-transition: all 0.4s ease;
 +
        -o-transition: all 0.4s ease;
 +
        transition: all 0.4s ease;
 +
    }
  
/* Links */
+
        /* hover for the links */
/*.content_wrapper*/ .content a {  
+
        /*.content_wrapper*/ .content a:hover {
font-weight: bold;
+
            text-decoration: none;
text-decoration: underline;
+
            color: #000000;
text-decoration-color:#72c9b6;
+
        }
color: #72c9b6;
+
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;
+
}
+
  
/* hover for the links */
+
    /* non numbered lists */
/*.content_wrapper*/ .content a:hover {  
+
    /*.content_wrapper*/ .content ul {
text-decoration:none;
+
        padding: 0px 20px;
color:#000000;
+
        font-size: 13px;
}
+
        font-family: Tahoma, Geneva, sans-serif;
 +
    }
  
/* non numbered lists */
+
    /* numbered lists */
/*.content_wrapper*/ .content ul {
+
    /*.content_wrapper*/ .content ol {
padding:0px 20px;
+
        padding: 0px;
font-size: 13px;
+
        font-size: 13px;
font-family:Tahoma, Geneva, sans-serif;  
+
        font-family: Tahoma, Geneva, sans-serif;
}
+
    }
  
/* numbered lists */
+
    /* Table */
/*.content_wrapper*/ .content ol {
+
padding:0px;
+
font-size: 13px;
+
font-family:Tahoma, Geneva, sans-serif;
+
}
+
+
/* Table */
+
       
+
.content_wrapper table {
+
width: 97%;
+
margin:15px 10px;
+
border: 1px solid #d3d3d3;
+
border-collapse: collapse;
+
}
+
  
/* table cells */
+
    .content_wrapper table {
.content_wrapper td {  
+
        width: 97%;
padding: 10px;
+
        margin: 15px 10px;
vertical-align: text-top;  
+
        border: 1px solid #d3d3d3;
border: 1px solid #d3d3d3;  
+
        border-collapse: collapse;
border-collapse: collapse;  
+
    }
}
+
  
/* table headers */
+
    /* table cells */
.content_wrapper th {  
+
    .content_wrapper td {
padding: 10px;  
+
        padding: 10px;
vertical-align: text-top;  
+
        vertical-align: text-top;
border: 1px solid #d3d3d3;  
+
        border: 1px solid #d3d3d3;
border-collapse: collapse;  
+
        border-collapse: collapse;
background-color:#f2f2f2;
+
    }
}
+
  
/* Button class */
+
    /* table headers */
.button_click {  
+
    .content_wrapper th {
margin: 10px auto;
+
        padding: 10px;
padding: 15px; width:12%; 
+
        vertical-align: text-top;
text-align:center;
+
        border: 1px solid #d3d3d3;
font-weight:bold;  
+
        border-collapse: collapse;
background-color: #72c9b6;
+
        background-color: #f2f2f2;
cursor:pointer; 
+
    }
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;  
+
}
+
  
/* button class on hover */
+
    /* Button class */
.button_click:hover {
+
    .button_click {
background-color:#000000;  
+
        margin: 10px auto;
color:#72c9b6;
+
        padding: 15px;
}
+
        width: 12%;
 +
        text-align: center;
 +
        font-weight: bold;
 +
        background-color: #72c9b6;
 +
        cursor: pointer;
 +
        -webkit-transition: all 0.4s ease;
 +
        -moz-transition: all 0.4s ease;
 +
        -ms-transition: all 0.4s ease;
 +
        -o-transition: all 0.4s ease;
 +
        transition: all 0.4s ease;
 +
    }
  
/********************************* RESPONSIVE STYLING ********************************/
+
        /* button class on hover */
 +
        .button_click:hover {
 +
            background-color: #000000;
 +
            color: #72c9b6;
 +
        }
  
/* IF THE SCREEN IS LESS THAN 1000PX */
 
  
@media only screen /*and (max-width: 1000px)*/ {
 
  
#content {width:100%; }
+
    /*****PAGE CONTENT***********/
.menu_wrapper {width:15%;}
+
    .notebook h1, h2, h3, h4 {
./*content_*/wrapper {margin-left: 15%;}
+
        color: #1c2957;
.menu_item {display:block;}
+
    }
.icon {display:none;}
+
.highlight {padding:10px 0px;}
+
}
+
  
 +
    .notebook ul {
 +
        list-style-type: circle;
 +
    }
  
/* IF THE SCREEN IS LESS THAN 680PX */
 
  
@media only screen and (max-width: 680px) {
+
    /********************************* RESPONSIVE STYLING ********************************/
.collapsable_menu_control { display:block;}
+
.menu_item {display:none;}
+
.menu_wrapper { width:100%; height: 15%; position:relative;}
+
./*content_*/wrapper {width:100%; margin-left:0px;}
+
.column.half_size {width:100%; }
+
.column img { width: 100%; padding: 5px 0px;}
+
.icon {display:block;}
+
.highlight {padding:15px 5px;}
+
}
+
  
 +
    /* IF THE SCREEN IS LESS THAN 1000PX */
 +
 +
    @media only screen /*and (max-width: 1000px)*/ {
 +
 +
        #content {
 +
            width: 100%;
 +
        }
 +
 +
        .menu_wrapper {
 +
            width: 15%;
 +
        }
 +
 +
        .content_wrapper {
 +
            margin-left: 15%;
 +
        }
 +
 +
        .menu_item {
 +
            display: block;
 +
        }
 +
 +
        .icon {
 +
            display: none;
 +
        }
 +
 +
        .highlight {
 +
            padding: 10px 0px;
 +
        }
 +
    }
 +
 +
 +
    /* IF THE SCREEN IS LESS THAN 680PX */
 +
 +
    @media only screen and (max-width: 680px) {
 +
        .collapsable_menu_control {
 +
            display: block;
 +
        }
 +
 +
        .menu_item {
 +
            display: none;
 +
        }
 +
 +
        .menu_wrapper {
 +
            width: 100%;
 +
            height: 15%;
 +
            position: relative;
 +
        }
 +
 +
        . /*content_*/ wrapper {
 +
            width: 100%;
 +
            margin-left: 0px;
 +
        }
 +
 +
        .column.half_size {
 +
            width: 100%;
 +
        }
 +
 +
        .column img {
 +
            width: 100%;
 +
            padding: 5px 0px;
 +
        }
 +
 +
        .icon {
 +
            display: block;
 +
        }
 +
 +
        .highlight {
 +
            padding: 15px 5px;
 +
        }
 +
    }
 
</style>
 
</style>
  
Line 388: Line 485:
 
         padding: 0;
 
         padding: 0;
 
         overflow: hidden;
 
         overflow: hidden;
         background-color: #000080;
+
         background-color: #1c2957;
 
         font-size: 1.25em;
 
         font-size: 1.25em;
 
         font-weight: bold;
 
         font-weight: bold;
Line 408: Line 505:
 
             li.my-menu-item a:hover {
 
             li.my-menu-item a:hover {
 
                 /*background-color: #a2c2fb;*/
 
                 /*background-color: #a2c2fb;*/
                 color: #FFD700;
+
                 color: #cdb87d;
 
             }
 
             }
  
Line 414: Line 511:
 
         display: none;
 
         display: none;
 
         position: absolute;
 
         position: absolute;
         background-color: #a2c2fb;
+
         background-color: rgb(0,0,128);
 
         min-width: 160px;
 
         min-width: 160px;
 
         box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
         box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
Line 420: Line 517:
 
     }
 
     }
  
        div.my-submenu-list a {
+
    div.my-submenu-list a {
            color: black;
+
        color: white;
            padding: 4px 16px;
+
        padding: 4px 16px;
            text-decoration: none;
+
        text-decoration: none;
            display: block;
+
        display: block;
            text-align: left;
+
        text-align: left;
        }
+
    }
  
            .my-submenu-list a:hover {
+
    .my-submenu-list a:hover {
                background-color: #0000c0;
+
        background-color: #1c2957;
                color: #FFD700;
+
        color: #cdb87d;
            }
+
    }
  
 
     li.my-menu-item:hover .my-submenu-list {
 
     li.my-menu-item:hover .my-submenu-list {
Line 438: Line 535:
 
</style>
 
</style>
 
<!-- my own style end -->
 
<!-- my own style end -->
 
 
 
<!--- THIS IS WHERE THE HTML BEGINS --->
 
<!--- THIS IS WHERE THE HTML BEGINS --->
 
 
 
<!-- This tells the browser that your page is responsive -->
 
<!-- This tells the browser that your page is responsive -->
  
<head>  
+
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">  
+
    <meta name="viewport" content="width=device-width, initial-scale=1">
 
</head>
 
</head>
  
<div><a href="Team:Pittsburgh"><img style="padding:0;width:100%; height:auto;" src="https://static.igem.org/mediawiki/2016/2/2e/T--Pittsburgh--templateBanner.jpg"></a>
+
<div>
 +
    <a href="/Team:Pittsburgh"><img style="padding:0;width:100%; height:auto;" src="https://static.igem.org/mediawiki/2016/2/2e/T--Pittsburgh--templateBanner.jpg"></a>
  
 
</div>
 
</div>
  
 
<!-- my own menu start -->
 
<!-- my own menu start -->
 +
 
<div>
 
<div>
 +
 +
<span class="anchor" id="Top"></span>
 
     <ul class="my-top-menu">
 
     <ul class="my-top-menu">
 +
 
         <li class="my-menu-item"><a href="https://2016.igem.org/Team:Pittsburgh"> Home </a></li>
 
         <li class="my-menu-item"><a href="https://2016.igem.org/Team:Pittsburgh"> Home </a></li>
  
Line 463: Line 561:
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Team"> Team </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Team"> Team </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Collaborations">Collaborations </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Collaborations">Collaborations </a>
 +
                <a href="https://2016.igem.org/Team:Pittsburgh/InterLab"> InterLab </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Attributions"> Attributions </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Attributions"> Attributions </a>
 
             </div>
 
             </div>
 
         </li>
 
         </li>
  
         <li class="my-menu-item"><a href="https://2016.igem.org/Team:Pittsburgh/Achievements"> Achievements </a></li>
+
         <li class="my-menu-item"><a href="https://2016.igem.org/Team:Pittsburgh/Medals"> Medals </a></li>
  
 
         <li class="my-menu-item">
 
         <li class="my-menu-item">
Line 473: Line 572:
 
             <div class="my-submenu-list">
 
             <div class="my-submenu-list">
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Project_Overview">Overview</a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Project_Overview">Overview</a>
                <a href="https://2016.igem.org/Team:Pittsburgh/Description"> ★ Description </a>
+
              <a href="https://2016.igem.org/Team:Pittsburgh/Experiments"> Experiments </a>
                <a href="https://2016.igem.org/Team:Pittsburgh/Design"> ★ Design </a>
+
                <a href="https://2016.igem.org/Team:Pittsburgh/Experiments"> Experiments </a>
+
                <a href="https://2016.igem.org/Team:Pittsburgh/Proof"> ★ Proof of Concept </a>
+
                <a href="https://2016.igem.org/Team:Pittsburgh/Demonstrate"> ★ Demonstrate </a>
+
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Results"> Results </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Results"> Results </a>
 +
                <a href="https://2016.igem.org/Team:Pittsburgh/Proof">Proof of Concept </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Notebook"> Notebook </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Notebook"> Notebook </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Protocols"> Protocols </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Protocols"> Protocols </a>
                <a href="https://2016.igem.org/Team:Pittsburgh/InterLab"> InterLab </a>
 
 
             </div>
 
             </div>
 
         </li>
 
         </li>
Line 489: Line 584:
 
             <div class="my-submenu-list">
 
             <div class="my-submenu-list">
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Parts">Parts </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Parts">Parts </a>
                 <a href="https://2016.igem.org/Team:Pittsburgh/Basic_Part"> Basic Parts </a>
+
                 <a href="https://2016.igem.org/Team:Pittsburgh/Basic_Part"> Basic Parts </a>
                <a href="https://2016.igem.org/Team:Pittsburgh/Composite_Part"> ★ Composite Parts </a>
+
                <a href="https://2016.igem.org/Team:Pittsburgh/Description"> Description </a>              
                <a href="https://2016.igem.org/Team:Pittsburgh/Part_Collection"> ★ Part Collection </a>
+
 
             </div>
 
             </div>
 
         </li>
 
         </li>
Line 501: Line 595:
 
             <div class="my-submenu-list">
 
             <div class="my-submenu-list">
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Human_Practices"> Human Practices </a>
 
                 <a href="https://2016.igem.org/Team:Pittsburgh/Human_Practices"> Human Practices </a>
                 <a href="https://2016.igem.org/Team:Pittsburgh/HP/Silver">Silver </a>
+
                 <a href="https://2016.igem.org/Team:Pittsburgh/HP/Silver">Silver </a>
                 <a href="https://2016.igem.org/Team:Pittsburgh/HP/Gold">Gold </a>
+
                 <a href="https://2016.igem.org/Team:Pittsburgh/HP/Gold">Gold </a>
                <a href="https://2016.igem.org/Team:Pittsburgh/Integrated_Practices"> ★ Integrated Practices </a>
+
                 <a href="https://2016.igem.org/Team:Pittsburgh/Engagement">Engagement </a>  
                 <a href="https://2016.igem.org/Team:Pittsburgh/Engagement">Engagement </a>
+
                 <a href="https://2016.igem.org/Team:Pittsburgh/Model">Model </a>
            </div>
+
        </li>
+
 
+
        <li class="my-menu-item">
+
            <a class="my-submenu"> Awards </a>
+
            <div class="my-submenu-list">
+
                <a href="https://2016.igem.org/Team:Pittsburgh/Entrepreneurship"> ★ Entrepreneurship </a>
+
                <a href="https://2016.igem.org/Team:Pittsburgh/Hardware"> ★ Hardware </a>
+
                <a href="https://2016.igem.org/Team:Pittsburgh/Software">★ Software </a>
+
                <a href="https://2016.igem.org/Team:Pittsburgh/Measurement">★  Measurement </a>
+
                 <a href="https://2016.igem.org/Team:Pittsburgh/Model">Model </a>
+
 
             </div>
 
             </div>
 
         </li>
 
         </li>
 +
       
 
     </ul>
 
     </ul>
 
</div>
 
</div>
 
<!-- my own menu end -->
 
<!-- my own menu end -->
 
 
<!--
 
<!--
 
<div class="menu_wrapper" >
 
<div class="menu_wrapper" >
  
<div class="collapsable_menu_control"> MENU ▤ </div>
+
    <div class="collapsable_menu_control"> MENU ▤ </div>
  
<ul id="accordion" class="accordion">
+
    <ul id="accordion" class="accordion">
  
<li class="menu_item"> <a href="https://2016.igem.org/Team:Pittsburgh">Home </a> </li>
+
        <li class="menu_item"> <a href="https://2016.igem.org/Team:Pittsburgh">Home </a> </li>
  
  
<li class="menu_item"> <div class="icon plus"></div> Team
+
        <li class="menu_item"> <div class="icon plus"></div> Team
<ul class="submenu">
+
            <ul class="submenu">
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Team"> Team  </a> </li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Team"> Team  </a> </li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Collaborations">★  Collaborations </a> </li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Collaborations">★  Collaborations </a> </li>
                    </ul>
+
                        </ul>
 
                 </li>
 
                 </li>
  
<li class="menu_item"> <a href="https://2016.igem.org/Team:Pittsburgh/Achievements">ACHIEVEMENTS</a></li>
+
        <li class="menu_item"> <a href="https://2016.igem.org/Team:Pittsburgh/Achievements">ACHIEVEMENTS</a></li>
  
<li class="menu_item"> <div class="icon plus"></div> PROJECT
+
        <li class="menu_item"> <div class="icon plus"></div> PROJECT
<ul class="submenu">
+
            <ul class="submenu">
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Description"> ★  Description </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Description"> ★  Description </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Design"> ★ Design </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Design"> ★ Design </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Experiments"> Experiments </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Experiments"> Experiments </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Proof"> ★ Proof of Concept </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Proof"> ★ Proof of Concept </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Demonstrate"> ★ Demonstrate </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Demonstrate"> ★ Demonstrate </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Results"> Results </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Results"> Results </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Notebook"> Notebook </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Notebook"> Notebook </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Protocols"> Protocols</a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Protocols"> Protocols</a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/InterLab">InterLab</a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/InterLab">InterLab</a></li>
                </ul>
+
                    </ul>
 
                 </li>
 
                 </li>
  
<li class="menu_item"> <div class="icon plus"></div> PARTS
+
        <li class="menu_item"> <div class="icon plus"></div> PARTS
<ul class="submenu">
+
            <ul class="submenu">
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Parts">Parts </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Parts">Parts </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Basic_Part"> ★ Basic Parts </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Basic_Part"> ★ Basic Parts </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Composite_Part"> ★ Composite Parts </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Composite_Part"> ★ Composite Parts </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Part_Collection"> ★ Part Collection </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Part_Collection"> ★ Part Collection </a></li>
                    </ul>
+
                        </ul>
 
                 </li>
 
                 </li>
  
  
<li class="menu_item"> <a href="https://2016.igem.org/Team:Pittsburgh/Safety"> SAFETY </a> </li>
+
        <li class="menu_item"> <a href="https://2016.igem.org/Team:Pittsburgh/Safety"> SAFETY </a> </li>
  
  
<li class="menu_item"> <a href="https://2016.igem.org/Team:Pittsburgh/Attributions">★  ATTRIBUTIONS </a></li>
+
        <li class="menu_item"> <a href="https://2016.igem.org/Team:Pittsburgh/Attributions">★  ATTRIBUTIONS </a></li>
  
  
<li class="menu_item"> <div class="icon plus"></div> HUMAN PRACTICES  
+
        <li class="menu_item"> <div class="icon plus"></div> HUMAN PRACTICES
<ul class="submenu">
+
            <ul class="submenu">
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Human_Practices"> Human Practices </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Human_Practices"> Human Practices </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/HP/Silver">★ Silver </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/HP/Silver">★ Silver </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/HP/Gold">★ Gold </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/HP/Gold">★ Gold </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Integrated_Practices"> ★ Integrated Practices </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Integrated_Practices"> ★ Integrated Practices </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Engagement">★ Engagement </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Engagement">★ Engagement </a></li>
                    </ul>
+
                        </ul>
 
                 </li>
 
                 </li>
  
  
<li class="menu_item"> <div class="icon plus"></div> AWARDS  
+
        <li class="menu_item"> <div class="icon plus"></div> AWARDS
<ul class="submenu">
+
            <ul class="submenu">
<li><a href="https://2016.igem.org/Team:Pittsburgh/Entrepreneurship"> ★ Entrepreneurship </a></li>
+
                <li><a href="https://2016.igem.org/Team:Pittsburgh/Entrepreneurship"> ★ Entrepreneurship </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Hardware"> ★ Hardware </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Hardware"> ★ Hardware </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Software">★ Software </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Software">★ Software </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Measurement">★  Measurement </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Measurement">★  Measurement </a></li>
<li> <a href="https://2016.igem.org/Team:Pittsburgh/Model">★ Model </a></li>
+
                <li> <a href="https://2016.igem.org/Team:Pittsburgh/Model">★ Model </a></li>
  
                    </ul>
+
                        </ul>
 
                 </li>
 
                 </li>
</ul>
+
    </ul>
  
 
</div>-->
 
</div>-->
 
 
<!--<div class="content_wrapper">-->
 
<!--<div class="content_wrapper">-->
  
 
<div class="wrapper">
 
<div class="wrapper">
<h1 id="page_name" style="padding: 10px;">  </h1>
+
    <h1 id="page_name" style="color:#1c2957;max-width:1000px; margin:0 auto; padding:20px 10px 10px 10px">  </h1>
 
+
 
<div class="column full_size" style="position:absolute; bottom:-10px; width:100%; height:300px; margin-top:300px; background-color:#D3D3D3;">
+
<!--FOOTER-->
     <div style="width:15%; display:block; float:left; margin-left:10px;">
+
 
    <ul style="list-style:none">
+
<div class="column full_size" style="position:absolute;bottom:0;height:450px;margin-top:450px;background-color:#D3D3D3;">
        <li><a href="2016.igem.org/Team:Pittsburgh">Home</a></li>
+
 
        <li>People</li>
+
     <div style="padding:15px; display:block; float:left; margin-left:5%;">
            <ul style="list-style:none">
+
        <p style="margin:0;"><a href="/Team:Pittsburgh">Home</a></p>
                <li><a href="2016.igem.org/Team:Pittsburgh/Team">Team</a></li>
+
                <li><a href="2016.igem.org/Team:Pittsburgh/Collaborations">Collaborations</a></li>
+
                <li><a href="2016.igem.org/Team:Pittsburgh/Attributions">Attributions</a></li>
+
            </ul>
+
        <li ><a href="2016.igem.org/Team:Pittsburgh">Achievements</a></li>
+
        <li>Project</li>
+
            <ul style="list-style:none">
+
                <li><a href="2016.igem.org/Team:Pittsburgh/Project_Overview">Overview</a></li>
+
                <li><a href="2016.igem.org/Team:Pittsburgh/Experiments">Experiments</a></li>
+
                <li><a href="2016.igem.org/Team:Pittsburgh/Results">Results</a></li>
+
                <li><a href="2016.igem.org/Team:Pittsburgh/Notebook">Notebook</a></li>
+
                <li><a href="2016.igem.org/Team:Pittsburgh/Protocols">Protocols</a></li>           
+
            </ul>
+
    </ul>
+
 
     </div>
 
     </div>
  
     <div style="width:60%; display:block; float:left; text-align:center;">
+
     <div style="padding:15px; display:block; float:left;">
         <p>Thank you to our sponsors!</p>
+
         <p style="margin:0;">People</p>
         <a href="http://www.chem.pitt.edu/" target="_blank"><img src="https://static.igem.org/mediawiki/2016/a/a7/T--Pittsburgh--SponsorsChemistry.jpg" style="width:200px; height:auto;"></a>
+
         <p style="margin:0;"><a href="/Team:Pittsburgh/Team">Team</a></p>
         <a href="http://www.engineering.pitt.edu/bioengineering/" target="_blank"><img src="https://static.igem.org/mediawiki/2016/4/4a/T--Pittsburgh--SponsorsSwanson.jpg" style="width:200px; height:auto;"></a>
+
         <p style="margin:0;"><a href="/Team:Pittsburgh/Collaborations">Collaborations</a></p>
         <a href="http://www.biology.pitt.edu/" target="_blank"><img src="https://static.igem.org/mediawiki/2016/5/53/T--Pittsburgh--SponsorsBiology.jpg" style="width:200px; height:auto;"></a><br>
+
         <p style="margin:0;"><a href="/Team:Pittsburgh/InterLab">InterLab</a></p>
         <a href="https://www.idtdna.com/site"><img src="https://static.igem.org/mediawiki/2016/e/e0/T--Pittsburgh--SponsorsIDT.jpg" style="width:200px; height:auto;"></a>
+
         <p style="margin:0;"><a href="/Team:Pittsburgh/Attributions">Attributions</a></p>
        <a href="https://www.neb.com/"><img src="https://static.igem.org/mediawiki/2016/4/44/T--Pittsburgh--SponsorsNEB.jpg" style="width:200px; height:auto;"></a>
+
 
     </div>
 
     </div>
  
     <div style="width:20%; display:block; float:left; text-align:right;">
+
     <div style="padding:15px; display:block; float:left;">
        <h5>Contact Us</h5>
+
         <p style="margin:0;"><a href="/Team:Pittsburgh/Medals">Medals</a></p>
         <p><a href="mailto:pitt.igem.2016@gmail.com?Subject=Hello%20From%20iGEM" target="_top">pitt.igem.2016@gmail.com</a></p>
+
 
     </div>
 
     </div>
  
 +
    <div style="padding:15px; display:block; float:left;">
 +
        <p style="margin:0;">Project</p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Project_Overview">Overview</a></p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Experiments">Experiments</a></p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Results">Results</a></p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Proof">Proof of Concept</a></p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Notebook">Notebook</a></p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Protocols">Protocols</a></p>
 +
    </div>
 +
 +
    <div style="padding:15px; display:block; float:left;">
 +
        <p style="margin:0;">Parts</p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Parts">Parts</a></p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Basic_Part">Basic Part</a></p><p style="margin:0;"><a href="/Team:Pittsburgh/Description">Description</a></p>
 +
       
 +
    </div>
 +
 +
    <div style="padding:15px; display:block; float:left;">
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Safety"> Safety</a></p>
 +
    </div>
 +
 +
    <div style="padding:15px; display:block; float:left;">
 +
        <p style="margin:0;">Human Practices</p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Human_Practices">Human Practices</a></p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/HP/Silver">Silver</a></p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/HP/Gold">Gold</a></p>
 +
        <p style="margin:0;"><a href="https://2016.igem.org/Team:Pittsburgh/Engagement">Engagement </a> </p>
 +
        <p style="margin:0;"><a href="/Team:Pittsburgh/Model">Model</a></p>
 +
    </div>
 +
 +
    <div style="padding:15px; display:block; float:right; text-align:right; margin-right:5%;">
 +
        <p style="margin:0;">Contact Us</p>
 +
        <p style="margin:0;"><a href="mailto:pitt.igem.2016@gmail.com?Subject=Hello%20From%20iGEM" target="_top">pitt.igem.2016@gmail.com</a></p>
 +
    </div>
 +
 +
    <div class="full_size" style="display:block; float:left; text-align:center;margin-left:-10px;">
 +
        <p>Thank you to our sponsors!</p>
 +
        <a href="http://www.provost.pitt.edu/" target="blank"><img src="https://static.igem.org/mediawiki/2016/4/46/T--Pittsburgh--SponsorsProvost.png" alt="Office of the Provost" style="width:200px; height:auto;"></a>
 +
        <a href="http://www.engineering.pitt.edu/bioengineering/" target="_blank"><img src="https://static.igem.org/mediawiki/2016/4/4a/T--Pittsburgh--SponsorsSwanson.jpg" alt="Department of Bioengineering" style="width:200px; height:auto;"></a>
 +
        <a href="http://www.biology.pitt.edu/" target="_blank"><img src="https://static.igem.org/mediawiki/2016/5/53/T--Pittsburgh--SponsorsBiology.jpg" alt="Department of Biological Sciences" style="width:250px; height:auto;"></a>
 +
        <a href="http://www.chem.pitt.edu/" target="_blank"><img src="https://static.igem.org/mediawiki/2016/a/a7/T--Pittsburgh--SponsorsChemistry.jpg" alt="Department of Chemistry" style="width:200px; height:auto;"></a>
 +
 +
        <a href="http://www.engineering.pitt.edu/" target="_blank"> <img src="https://static.igem.org/mediawiki/2016/9/9e/T--Pittsburgh--SponsorsSwansonEngineering.png" alt="Swanson School of Engineering" style="width:200px;height;auto;"></a>
 +
        <br>
 +
        <a href="https://www.idtdna.com/site"><img src="https://static.igem.org/mediawiki/2016/e/e0/T--Pittsburgh--SponsorsIDT.jpg" alt="IDT" style="width:200px; height:auto;"></a>
 +
        <a href="https://www.neb.com/"><img src="https://static.igem.org/mediawiki/2016/4/44/T--Pittsburgh--SponsorsNEB.jpg" alt="NEB" style="width:200px; height:auto;"></a>
 +
        <a href="https://experiment.com/"><img src="https://static.igem.org/mediawiki/2016/6/67/T--Pittsburgh--templateExperiment.png" alt="Experiment" style="width:200px; height:auto;"></a>
 +
       
 +
       
 +
       
 +
    </div>
 
</div>
 
</div>
  
<script>
+
<!--FOOTER END-->
 +
 
 +
    <script>
  
 
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
 
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
Line 646: Line 765:
  
 
$("#HQ_page").attr('id','');
 
$("#HQ_page").attr('id','');
+
 
  
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
$("#team_name").html( wgPageName );  
+
$("#team_name").html( wgPageName );
 
}
 
}
  
 
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
 
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );  
+
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );
 
}
 
}
  
 
else {
 
else {
 
// this adds the team's name as an h1
 
// this adds the team's name as an h1
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );  
+
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );
  
// this adds the page's title as an h4
+
// this adds the page's title as an h4
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
}
 
}
Line 669: Line 788:
  
  
</script>
+
    </script>
  
  
 
</html>
 
</html>

Latest revision as of 20:46, 5 November 2016