Team:Tec-Monterrey/specialthanks
From 2011.igem.org
(Difference between revisions)
Line 160: | Line 160: | ||
font:12px arial; | font:12px arial; | ||
width:700; | width:700; | ||
- | height: | + | height:350; |
- | max-height: | + | max-height: 350px; |
border:none; | border:none; | ||
overflow:auto; | overflow:auto; | ||
Line 249: | Line 249: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
- | |||
- | |||
- | |||
- | |||
i = 0 | i = 0 | ||
var speed = 10 | var speed = 10 | ||
Line 270: | Line 266: | ||
t1=setTimeout("scrollUp()",100) | t1=setTimeout("scrollUp()",100) | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
// ----------------------------------------------------------------------------------------------- | // ----------------------------------------------------------------------------------------------- | ||
Line 297: | Line 272: | ||
var PANEL_COLLAPSED_CLASS = "panelcollapsed"; | var PANEL_COLLAPSED_CLASS = "panelcollapsed"; | ||
var PANEL_HEADING_TAG = "h2"; | var PANEL_HEADING_TAG = "h2"; | ||
- | |||
var PANEL_CONTENT_CLASS = "panelcontent"; | var PANEL_CONTENT_CLASS = "panelcontent"; | ||
var PANEL_COOKIE_NAME = "panels"; | var PANEL_COOKIE_NAME = "panels"; | ||
Line 308: | Line 282: | ||
// get all headings | // get all headings | ||
- | var | + | var headingTags = document.getElementsByTagName(PANEL_HEADING_TAG); |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
// go through all tags | // go through all tags | ||
Line 400: | Line 356: | ||
} | } | ||
- | + | /** | |
+ | * Change the height of the target | ||
+ | * @param panelContent reference to the panel content to change height | ||
+ | * @param iteration current iteration; animation will be stopped when iteration reaches PANEL_ANIMATION_STEPS | ||
+ | * @param stepHeight height increment to be added/substracted in one step | ||
+ | * @param direction 1 for expanding, -1 for collapsing | ||
+ | */ | ||
function animateStep(panelContent, iteration, stepHeight, direction) | function animateStep(panelContent, iteration, stepHeight, direction) | ||
{ | { | ||
Line 505: | Line 467: | ||
--> | --> | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
</head> | </head> | ||
Line 549: | Line 522: | ||
<p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectnotebook">notebook</a></p> | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectnotebook">notebook</a></p> | ||
<p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectresults">results</a></p> | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectresults">results</a></p> | ||
- | + | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/sampledata">sample data</a></p> | |
</div> | </div> | ||
</div> | </div> | ||
Line 582: | Line 555: | ||
</div> | </div> | ||
</li> | </li> | ||
- | + | ||
- | + | </ul> | |
+ | |||
</div> | </div> | ||
<div class="content"> | <div class="content"> | ||
- | + | <div style=" | |
+ | text-align:center;"> | ||
+ | |||
+ | <!--in sub pages, this divisions should be comments! :D--> | ||
<div style=" | <div style=" | ||
padding:25px 50px; | padding:25px 50px; | ||
- | + | background-color:#04191d; | |
- | + | color:#333; | |
- | margin:5px | + | text-align:left; |
- | + | margin:5px 30px;"> | |
- | + | ||
- | + | ||
- | |||
</head> | </head> | ||
<body> | <body> | ||
+ | <div align="justify"> | ||
<div style="-moz-border-radius: 4px;-webkit-border-radius: 4px;"> | <div style="-moz-border-radius: 4px;-webkit-border-radius: 4px;"> | ||
<div class="frame" id="frame1" style="background-color:#e5e5e5;"> | <div class="frame" id="frame1" style="background-color:#e5e5e5;"> | ||
+ | <br> | ||
+ | |||
+ | |||
SPECIAL THANKS | SPECIAL THANKS | ||
Line 664: | Line 642: | ||
</p> | </p> | ||
<p> </p> | <p> </p> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | </html> | + | |
+ | |||
+ | </div> | ||
+ | <hr> | ||
+ | <br/> | ||
+ | <input type="button" value=" Up " onmouseover="scrollUp()" onmouseout="clearTimeout(t1)"> | ||
+ | <input type="button" value=" Down " onmouseover="scrollDown()" onmouseout="clearTimeout(t1)"> | ||
+ | </div></body></html> |