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> | ||
− | + | <script type="text/javascript"> | |
− | + | stepcarousel.setup({ | |
− | + | galleryid: 'promotion', | |
− | + | beltclass: 'belt', | |
− | + | panelclass: 'panel', | |
− | + | panelbehavior: {speed:500, wraparound:true, wrapbehavior:'pushpull', persist:false}, | |
− | + | 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); | ||
− | + | $('html, body').stop().animate({ | |
− | + | 'scrollTop': $target.offset().top | |
− | + | }, 900, 'swing', function () { | |
− | + | window.location.hash = target; | |
− | + | }); | |
− | + | }); | |
− | + | }); | |
− | + | </script> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | / | + | <style type="text/css"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</style> | </style> | ||
</head> | </head> | ||
Line 85: | Line 45: | ||
<div class="default"> | <div class="default"> | ||
<ul> | <ul> | ||
− | <a href=" | + | <a href="NCmain.html"><li>HOME</li></a> |
− | <a href=" | + | <a href="TEAM/NCMembers.html"><li>TEAM</li></a> |
− | <a href=" | + | <a href="PROJECT/NCDescription.html"><li>PROJECT</li></a> |
− | + | <!--<li>PROJECT | |
− | + | <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 & Protocols</li></a> | <a href="https://2015.igem.org/Team:Elan_Vital_Korea/Experiments"><li>Experiments & 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> | |
− | </li> | + | </li>--> |
− | + | <a href="WETLAB/NCnotebook.html"><li>WETLAB</li></a> | |
− | <a href=" | + | <!--<a href="WETLAB/NCNotebook.html"><li>WETLAB</li></a>--> |
− | <a href=" | + | <a href="HUMAN_PRACTICES/NCHumanPractices.html"><li>HUMAN PRACTICES</li></a> |
− | <a href=" | + | <li style="float:right; margin:-19px 0 0 15px;"><img src="img/NCigemlogo.jpg" /></li> |
− | < | + | |
</ul> | </ul> | ||
</div> | </div> |
Revision as of 12:58, 15 September 2015