|
|
(4 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | + | <html> |
- | <html lang="en" xmlns="http://www.w3.org/1999/xhtml"
| + | |
- | dir="ltr" lang="en-US">
| + | |
- | <head>
| + | |
- | <meta content="text/html; charset=UTF-8"
| + | |
- | http-equiv="Content-Type" />
| + | |
- | <meta content="IE=EmulateIE7" http-equiv="X-UA-Compatible" />
| + | |
- | <title>FREiGEM</title>
| + | |
- | <script src="script.js" type="text/javascript"></script>
| + | |
- | <link media="screen" type="text/css" href="style.css"
| + | |
- | rel="stylesheet" />
| + | |
- | <!--[if IE 6]><link rel="stylesheet" href="style.ie6.css" type="text/css" media="screen" /><![endif]--><!--[if IE 7]><link rel="stylesheet" href="style.ie7.css" type="text/css" media="screen" /><![endif]-->
| + | |
- | </head>
| + | |
| <body> | | <body> |
- | <div id="art-page-background-simple-gradient"> </div>
| + | |
- | <div id="art-main"> | + | <script language="JavaScript1.2"> |
- | <div class="art-Sheet">
| + | |
- | <div class="art-Sheet-tl"></div>
| + | /* |
- | <div class="art-Sheet-tr"></div>
| + | Left-Right image slideshow Script- |
- | <div class="art-Sheet-bl"></div>
| + | By Dynamic Drive (www.dynamicdrive.com) |
- | <div class="art-Sheet-br"></div>
| + | For full source code, terms of use, and 100's more scripts, visit http://dynamicdrive.com |
- | <div class="art-Sheet-tc"></div>
| + | */ |
- | <div class="art-Sheet-bc"></div>
| + | |
- | <div class="art-Sheet-cl"></div>
| + | ///////configure the below four variables to change the style of the slider/////// |
- | <div class="art-Sheet-cr"></div>
| + | //set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow! |
- | <div class="art-Sheet-cc"></div>
| + | var scrollerwidth='100px' |
- | <div class="art-Sheet-body">
| + | var scrollerheight='106px' |
- | <div class="art-Header">
| + | var scrollerbgcolor='white' |
- | <div class="art-Header-jpeg"></div>
| + | //3000 miliseconds=3 seconds |
- | </div>
| + | var pausebetweenimages=3000 |
- | <div class="art-nav">
| + | |
- | <div class="l"></div>
| + | |
- | <div class="r"></div>
| + | //configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tag |
- | <ul class="art-menu">
| + | var slideimages=new Array() |
- | <li><a class="active"
| + | slideimages[0]='<a href="http://www.cnn.com"><img src="PE01805A.gif" border=0"></a>' |
- | href="https://2009.igem.org/Team:Freiburg_bioware"><span
| + | slideimages[1]='<img src="PE01803A.gif">' |
- | class="l"></span><span class="r"></span><span
| + | slideimages[2]='<img src="TN00411A.gif">' |
- | class="t">Home</span></a></li>
| + | slideimages[3]='<img src="PE02054A.gif">' |
- | <li><a href="https://2009.igem.org/Team:Freiburg_bioware/Team"><span
| + | slideimages[4]='<img src="cake.gif">' |
- | class="l"></span><span class="r"></span><span
| + | //extend this list |
- | class="t">The Team</span></a>
| + | |
- | <ul>
| + | ///////Do not edit pass this line/////////////////////// |
- | <li><a href="#">Overview</a></li>
| + | |
- | <li><a href="#">Photos</a></li>
| + | var ie=document.all |
- | </ul>
| + | var dom=document.getElementById |
- | </li>
| + | |
- | <li><a href="#"><span class="l"></span><span
| + | if (slideimages.length>1) |
- | class="r"></span><span class="t">The
| + | i=2 |
- | Project</span></a></li>
| + | else |
- | <li><a
| + | i=0 |
- | href="https://2009.igem.org/Team:Freiburg_bioware/Human_Practice"><span
| + | |
- | class="l"></span><span class="r"></span><span
| + | function move1(whichlayer){ |
- | class="t">Human
| + | tlayer=eval(whichlayer) |
- | Practice</span></a>
| + | if (tlayer.left>0&&tlayer.left<=5){ |
- | <ul>
| + | tlayer.left=0 |
- | <li><a href="#">D'oh! Something's missing here.</a>
| + | setTimeout("move1(tlayer)",pausebetweenimages) |
- | <ul>
| + | setTimeout("move2(document.main.document.second)",pausebetweenimages) |
- | <li><a href="#">1</a> </li>
| + | return |
- | <li><a href="#">2</a> </li>
| + | } |
- | <li><a href="#">3</a> </li>
| + | if (tlayer.left>=tlayer.document.width*-1){ |
- | </ul>
| + | tlayer.left-=5 |
- | </li>
| + | setTimeout("move1(tlayer)",50) |
- | <li><a href="#">4</a></li>
| + | } |
- | <li><a href="#">5</a></li>
| + | else{ |
- | </ul>
| + | tlayer.left=parseInt(scrollerwidth)+5 |
- | </li>
| + | tlayer.document.write(slideimages[i]) |
- | <li><a href="#"><span class="l"></span><span
| + | tlayer.document.close() |
- | class="r"></span><span class="t">Notebook</span></a></li>
| + | if (i==slideimages.length-1) |
- | <li><a
| + | i=0 |
- | href="https://2009.igem.org/Team:Freiburg_bioware/Collaboration"><span
| + | else |
- | class="l"></span><span class="r"></span><span
| + | i++ |
- | class="t">Collaboration</span></a></li>
| + | } |
- | </ul>
| + | } |
- | </div>
| + | |
- | <div class="art-contentLayout">
| + | function move2(whichlayer){ |
- | <div class="art-content">
| + | tlayer2=eval(whichlayer) |
- | <div class="art-Post"> | + | if (tlayer2.left>0&&tlayer2.left<=5){ |
- | <div class="art-Post-tl"></div>
| + | tlayer2.left=0 |
- | <div class="art-Post-tr"></div>
| + | setTimeout("move2(tlayer2)",pausebetweenimages) |
- | <div class="art-Post-bl"></div>
| + | setTimeout("move1(document.main.document.first)",pausebetweenimages) |
- | <div class="art-Post-br"></div>
| + | return |
- | <div class="art-Post-tc"></div>
| + | } |
- | <div class="art-Post-bc"></div>
| + | if (tlayer2.left>=tlayer2.document.width*-1){ |
- | <div class="art-Post-cl"></div>
| + | tlayer2.left-=5 |
- | <div class="art-Post-cr"></div>
| + | setTimeout("move2(tlayer2)",50) |
- | <div class="art-Post-cc"></div>
| + | } |
- | <div class="art-Post-body">
| + | else{ |
- | <div class="art-Post-inner">
| + | tlayer2.left=parseInt(scrollerwidth)+5 |
- | <div class="art-PostMetadataHeader">
| + | tlayer2.document.write(slideimages[i]) |
- | <h2 class="art-PostHeaderIcon-wrapper"> Undergraduates<span
| + | tlayer2.document.close() |
- | class="art-PostHeader"></span>
| + | if (i==slideimages.length-1) |
- | </h2>
| + | i=0 |
- | </div>
| + | else |
- | <div class="art-PostContent">
| + | i++ |
- | <div style="text-align: center;"></div>
| + | } |
- | <br />
| + | } |
- | <div style="text-align: left;">
| + | |
- | | + | function move3(whichdiv){ |
- | <table | + | tdiv=eval(whichdiv) |
- | style="text-align: left; margin-left: auto; margin-right: auto;"
| + | if (parseInt(tdiv.style.left)>0&&parseInt(tdiv.style.left)<=5){ |
- | border="0" cellpadding="0" cellspacing="0">
| + | tdiv.style.left=0+"px" |
- | <tbody bgcolor="#e2eff9">
| + | setTimeout("move3(tdiv)",pausebetweenimages) |
- | <tr>
| + | setTimeout("move4(scrollerdiv2)",pausebetweenimages) |
- | <td><img
| + | return |
- | src="https://static.igem.org/mediawiki/2009/1/1e/Freiburg09_Anika.jpg"
| + | } |
- | alt="" style="width: 300px; height: 225px;" /><img
| + | if (parseInt(tdiv.style.left)>=tdiv.offsetWidth*-1){ |
- | style="width: 5px; height: 300px;" alt=""
| + | tdiv.style.left=parseInt(tdiv.style.left)-5+"px" |
- | src="https://static.igem.org/mediawiki/2009/6/62/Freiburg09_5px_spacer.jpg" /><br />
| + | setTimeout("move3(tdiv)",50) |
- | </td>
| + | } |
- | <td><img
| + | else{ |
- | src="https://static.igem.org/mediawiki/2009/f/fb/Freiburg09_Caro.jpg"
| + | tdiv.style.left=scrollerwidth |
- | alt="" style="width: 300px; height: 225px;" /><img
| + | tdiv.innerHTML=slideimages[i] |
- | style="width: 5px; height: 300px;" alt=""
| + | if (i==slideimages.length-1) |
- | src="https://static.igem.org/mediawiki/2009/6/62/Freiburg09_5px_spacer.jpg" /></td>
| + | i=0 |
- | <td><img
| + | else |
- | src="https://static.igem.org/mediawiki/2009/4/47/Freiburg09_Christoph.jpg"
| + | i++ |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | } |
- | </tr>
| + | } |
- | <tr>
| + | |
- | <td style="text-align: center;">Anika</td>
| + | function move4(whichdiv){ |
- | <td style="text-align: center;">Carolin </td>
| + | tdiv2=eval(whichdiv) |
- | <td style="text-align: center;">Christoph</td>
| + | if (parseInt(tdiv2.style.left)>0&&parseInt(tdiv2.style.left)<=5){ |
- | </tr>
| + | tdiv2.style.left=0+"px" |
- | <tr>
| + | setTimeout("move4(tdiv2)",pausebetweenimages) |
- | <td><img
| + | setTimeout("move3(scrollerdiv1)",pausebetweenimages) |
- | src="https://static.igem.org/mediawiki/2009/7/73/Freiburg09_Gerrit.jpg"
| + | return |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | } |
- | <td><img
| + | if (parseInt(tdiv2.style.left)>=tdiv2.offsetWidth*-1){ |
- | src="https://static.igem.org/mediawiki/2009/3/3e/Freiburg09_Hannes.jpg"
| + | tdiv2.style.left=parseInt(tdiv2.style.left)-5+"px" |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | setTimeout("move4(scrollerdiv2)",50) |
- | <td><img
| + | } |
- | src="https://static.igem.org/mediawiki/2009/4/40/Freiburg09_Isabel.jpg"
| + | else{ |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | tdiv2.style.left=scrollerwidth |
- | </tr>
| + | tdiv2.innerHTML=slideimages[i] |
- | <tr>
| + | if (i==slideimages.length-1) |
- | <td style="text-align: center;">Gerrit</td>
| + | i=0 |
- | <td style="text-align: center;">Hannes</td>
| + | else |
- | <td style="text-align: center;">Isabel </td>
| + | i++ |
- | </tr>
| + | } |
- | <tr>
| + | } |
- | <td><img
| + | |
- | src="https://static.igem.org/mediawiki/2009/2/28/Freiburg09_Julia.jpg"
| + | function startscroll(){ |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | if (ie||dom){ |
- | <td><img
| + | scrollerdiv1=ie? first2 : document.getElementById("first2") |
- | src="https://static.igem.org/mediawiki/2009/1/18/Freiburg09_Laura.jpg"
| + | scrollerdiv2=ie? second2 : document.getElementById("second2") |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | move3(scrollerdiv1) |
- | <td><img
| + | scrollerdiv2.style.left=scrollerwidth |
- | src="https://static.igem.org/mediawiki/2009/e/eb/Freiburg09_Manuel.jpg"
| + | } |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | else if (document.layers){ |
- | </tr>
| + | document.main.visibility='show' |
- | <tr>
| + | move1(document.main.document.first) |
- | <td style="text-align: center;">Julia</td>
| + | document.main.document.second.left=parseInt(scrollerwidth)+5 |
- | <td style="text-align: center;">Laura</td>
| + | document.main.document.second.visibility='show' |
- | <td style="text-align: center;">Manuel</td>
| + | } |
- | </tr>
| + | } |
- | <tr>
| + | |
- | <td><img
| + | window.onload=startscroll |
- | src="https://static.igem.org/mediawiki/2009/c/cb/Freiburg09_Max3.jpg"
| + | |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | </script> |
- | <td><img
| + | |
- | src="https://static.igem.org/mediawiki/2009/d/d2/Freiburg09_Sarah.jpg"
| + | |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | |
- | <td><img
| + | |
- | src="https://static.igem.org/mediawiki/2009/9/9a/Freiburg09_Timo.jpg"
| + | <ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; visibility=hide> |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | <layer id="first" left=1 top=0 width=&{scrollerwidth}; > |
- | </tr>
| + | <script language="JavaScript1.2"> |
- | <tr>
| + | if (document.layers) |
- | <td style="text-align: center;">Max</td>
| + | document.write(slideimages[0]) |
- | <td style="text-align: center;">Sarah</td>
| + | </script> |
- | <td style="text-align: center;">Timo</td>
| + | </layer> |
- | </tr>
| + | <layer id="second" left=0 top=0 width=&{scrollerwidth}; visibility=hide> |
- | </tbody>
| + | <script language="JavaScript1.2"> |
- | </table>
| + | if (document.layers) |
- | </div>
| + | document.write(slideimages[1]) |
- | <br />
| + | </script> |
- | </div> | + | </layer> |
- | <div class="cleared"></div>
| + | </ilayer> |
- | </div>
| + | |
- | </div>
| + | <script language="JavaScript1.2"> |
- | </div>
| + | if (ie||dom){ |
- | <div class="art-Post">
| + | document.writeln('<div id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-color:'+scrollerbgcolor+'">') |
- | <div class="art-Post-tl"></div>
| + | document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0px;top:0px">') |
- | <div class="art-Post-tr"></div>
| + | document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:1px;top:0px;">') |
- | <div class="art-Post-bl"></div>
| + | document.write(slideimages[0]) |
- | <div class="art-Post-br"></div> | + | document.writeln('</div>') |
- | <div class="art-Post-tc"></div>
| + | document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:0px">') |
- | <div class="art-Post-bc"></div>
| + | document.write(slideimages[1]) |
- | <div class="art-Post-cl"></div> | + | document.writeln('</div>') |
- | <div class="art-Post-cr"></div>
| + | document.writeln('</div>') |
- | <div class="art-Post-cc"></div>
| + | document.writeln('</div>') |
- | <div class="art-Post-body"> | + | } |
- | <div class="art-Post-inner">
| + | </script> |
- | <div class="art-PostMetadataHeader">
| + | |
- | <h2 class="art-PostHeaderIcon-wrapper"> Advisors<span | + | <p align="center"><font face="Arial" size="-2">Free DHTML scripts provided by<br> |
- | class="art-PostHeader"></span> </h2>
| + | <a href="http://dynamicdrive.com">Dynamic Drive</a></font></p> |
- | </div> | + | |
- | <div style="text-align: center;"></div> | + | |
- | <br />
| + | |
- | <br /> | + | |
- | <span style="font-weight: bold;"></span>
| + | |
- | <table
| + | |
- | style="width: 750px; text-align: left; margin-left: auto; margin-right: auto;"
| + | |
- | border="0" cellpadding="0" cellspacing="0">
| + | |
- | <tbody bgcolor="#e2eff9">
| + | |
- | <tr>
| + | |
- | <td style="text-align: center;"><img
| + | |
- | src="https://static.igem.org/mediawiki/2009/a/a6/Freiburg09_Katja.jpg"
| + | |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | |
- | <td style="text-align: center;"><img
| + | |
- | src="https://static.igem.org/mediawiki/2009/f/f2/Freiburg09_Kristian.jpg"
| + | |
- | alt="" style="width: 300px; height: 225px;" /></td>
| + | |
- | </tr>
| + | |
- | <tr>
| + | |
- | <td style="text-align: center;">Katja</td>
| + | |
- | <td style="text-align: center;">Kristian</td>
| + | |
- | </tr>
| + | |
- | <tr>
| + | |
- | <td style="text-align: center;"><img alt=""
| + | |
- | src="https://static.igem.org/mediawiki/2009/9/9a/Freiburg09_Tobi.jpg" /></td>
| + | |
- | <td style="text-align: center;"><img
| + | |
- | style="width: 300px; height: 225px;" alt=""
| + | |
- | src="https://static.igem.org/mediawiki/2009/0/0b/Freiburg09_Sven.jpg" /></td>
| + | |
- | </tr>
| + | |
- | <tr>
| + | |
- | <td style="text-align: center;">Tobias</td>
| + | |
- | <td style="text-align: center;">Sven</td>
| + | |
- | </tr>
| + | |
- | </tbody>
| + | |
- | </table>
| + | |
- | <span style="font-weight: bold;"></span>
| + | |
- | <br />
| + | |
- | <br />
| + | |
- | </div> | + | |
- | </div> | + | |
- | </div> | + | |
- | </div>
| + | |
- | </div> | + | |
- | <div class="cleared"></div> | + | |
- | <div class="art-Footer">
| + | |
- | <div class="art-Footer-inner">
| + | |
- | <div class="art-Footer-text"> | + | |
- | <p>contact: <a
| + | |
- | href="mailto:freigem09@googlemail.com">freigem09@googlemail.com</a><br />
| + | |
- | </p> | + | |
- | </div>
| + | |
- | </div>
| + | |
- | <div class="art-Footer-background"></div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
| </body> | | </body> |
| </html> | | </html> |