Difference between revisions of "Template:Elan Vital Korea/Templates/Header"

(Created page with "<html> <head> <style type="text/css"> body { width:100%; height: 100%; background-color: #fff; border:0; margin:0; padding:0; } div, h1, h2, h3, h4, h5, table, th, td, ...")
 
Line 1: Line 1:
 
<html>
 
<html>
 
<head>
 
<head>
    <style type="text/css">
+
<script type="text/javascript">
    body { width:100%; height: 100%;  background-color: #fff; border:0; margin:0; padding:0; }
+
stepcarousel.setup({
div, h1, h2, h3, h4, h5, table, th, td, p, ul, li, nav { border:0; margin:0; padding:0; list-style:none; }
+
galleryid: 'promotion',
 
+
beltclass: 'belt',
 
+
panelclass: 'panel',
h1, h2, h3, h4, h5 {
+
panelbehavior: {speed:500, wraparound:true, wrapbehavior:'pushpull', persist:false},
font-weight:bold; border-bottom:none;
+
defaultbuttons: {enable: false, moveby: 1, leftnav: ['/img/NCprev.png', -10, 100], rightnav: ['/img/NCNext.png', -10, 100]},
 +
statusvars: ['reportA', 'reportB', 'reportC'],
 +
contenttype: ['inline']
 +
});
 +
</script>
 +
<script type="text/javascript">
 +
//4초마다 이동
 +
function moveStep()
 +
{
 +
stepcarousel.stepBy('promotion', 1);
 +
setTimeout(moveStep,4000);
 
}
 
}
 +
moveStep();
 +
</script>
 +
<script type="text/javascript">
 +
  $(document).ready(function(){
 +
  $('a[href^="#"]').on('click',function (e) {
 +
      e.preventDefault();
  
 +
      var target = this.hash,
 +
      $target = $(target);
  
/* WIKI SETTINGS*/
+
      $('html, body').stop().animate({
+
          'scrollTop': $target.offset().top
/* Hide first heading */
+
      }, 900, 'swing', function () {
.firstHeading {
+
          window.location.hash = target;
display: none;
+
      });
}
+
  });
+
});
/*-- Remove borders, float content left and remove padding/margin */
+
</script>
#globalWrapper, #content{
+
background-color: transparent;
+
border: 0px;
+
margin:0px;
+
padding: 0px;
+
}
+
#content {
+
width: auto;
+
}
+
/*navigation*/
+
.gnb {
+
border-bottom:5px #5ed8ff solid;
+
width:100%;
+
    position:fixed;
+
    background:#FFF;
+
}
+
.gnb_on, .gnb .default ul a:hover {
+
color:#5ab9cc;
+
}
+
.gnb_off, .gnb a {
+
color:#585858;
+
text-decoration:none;
+
}
+
.gnb .default {
+
width:980px;
+
margin:0 auto;
+
font-size:15px;
+
font-family: Verdana, Helvetica, sans-serif;
+
}
+
.gnb .default ul {
+
padding-top:40px;
+
}
+
.gnb .default ul li {
+
display:inline-block;
+
margin-left:30px;
+
height:40px;   
+
}
+
  
/*submenu*/
+
    <style type="text/css">
.gnb .default ul li ul {
+
background-color: #f0f0f0;
+
height:30px;
+
padding:15px 0;
+
display: none;
+
}
+
.gnb .default li ul a:hover {
+
color:#5ab9cc;
+
}
+
.gnb .default li:hover ul {
+
display: block;
+
position: absolute;
+
/*float:right;*/
+
margin:25px 0 0 -70px;
+
}
+
.gnb .default li ul li {
+
padding-right:20px;
+
}
+
.gnb .default li ul li a {
+
color: #565656;
+
}
+
 
     </style>
 
     </style>
 
</head>
 
</head>
Line 85: Line 45:
 
     <div class="default">
 
     <div class="default">
 
    <ul>
 
    <ul>
         <a href="https://2015.igem.org/Team:Elan_Vital_Korea"><li>HOME</li></a>
+
         <a href="NCmain.html"><li>HOME</li></a>
         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Team"><li>TEAM</li></a>
+
         <a href="TEAM/NCMembers.html"><li>TEAM</li></a>
             <a href="#">
+
             <a href="PROJECT/NCDescription.html"><li>PROJECT</li></a>
            <li>PROJECT
+
            <!--<li>PROJECT
            <!--<ul>
+
            <ul>
 
                         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Description"><li>Description</li></a>
 
                         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Description"><li>Description</li></a>
 
                         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Experiments"><li>Experiments &amp; Protocols</li></a>   
 
                         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Experiments"><li>Experiments &amp; Protocols</li></a>   
 
                         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Results"><li>Results</li></a>   
 
                         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Results"><li>Results</li></a>   
 
                         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Design"><li>Design</li></a>
 
                         <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Design"><li>Design</li></a>
                        </ul>-->
+
                  </ul>
</li></a>
+
</li>-->
           
+
             <a href="WETLAB/NCnotebook.html"><li>WETLAB</li></a>
             <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Parts"><li>PARTS</li></a>
+
             <!--<a href="WETLAB/NCNotebook.html"><li>WETLAB</li></a>-->
             <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Notebook"><li>NOTEBOOK</li></a>
+
             <a href="HUMAN_PRACTICES/NCHumanPractices.html"><li>HUMAN PRACTICES</li></a>
             <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Attributions"><li>ATTRIBUTIONS</li></a>
+
             <li style="float:right; margin:-19px 0 0 15px;"><img src="img/NCigemlogo.jpg" /></li>
             <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Collaborations"><li>COLLABORATIONS</li></a>
+
 
         </ul>
 
         </ul>
 
     </div>
 
     </div>

Revision as of 12:58, 15 September 2015