GALLERY.html

From 2012.igem.org

(Difference between revisions)
 
(15 intermediate revisions not shown)
Line 116: Line 116:
border-right: none;
border-right: none;
}
}
-
 
</style>
</style>
 +
 +
<script language="JavaScript1.4" type="text/javascript">
 +
<!--
 +
function jsPlay(soundobj) {
 +
var thissound= eval("document."+soundobj);
 +
try {
 +
    thissound.Play();
 +
}
 +
catch (e) {
 +
    thissound.DoPlay();
 +
}
 +
}
 +
//-->
 +
</script>
 +
 +
 +
<script language="JavaScript1.4" type="text/javascript">
 +
<!--
 +
function jsPlay(soundobj) {
 +
var thissound= eval("document."+soundobj);
 +
try {
 +
    thissound.Play();
 +
}
 +
catch (e) {
 +
    thissound.DoPlay();
 +
}
 +
}
 +
//-->
 +
</script>
 +
<script language="JavaScript1.4" type="text/javascript">
<script language="JavaScript1.4" type="text/javascript">
Line 160: Line 189:
//-->
//-->
</script>
</script>
 +
 +
/*]]>*/</script>
 +
               
 +
<script type="text/javascript" src="/wiki/skins/common/wikibits.js?116"><!-- wikibits js --></script>
 +
<!-- Head Scripts -->
 +
<script type="text/javascript" src="/wiki/skins/common/ajax.js?116"></script>
 +
<script type="text/javascript" src="/wiki/skins/common/ajaxwatch.js?116"></script>
 +
<script type="text/javascript" src="/wiki/index.php?title=-&amp;action=raw&amp;smaxage=0&amp;gen=js&amp;useskin=igem"><!-- site js --></script>
 +
<style type="text/css">/*<![CDATA[*/
 +
@import "/wiki/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000";
 +
@import "/wiki/index.php?title=MediaWiki:Igem.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000";
 +
@import "/wiki/index.php?title=-&action=raw&gen=css&maxage=18000&smaxage=0";
 +
/*]]>*/</style>
 +
<!-- jQuery Javascript -->
 +
<script type='text/javascript'        src ='/common/jquery-latest.min.js'></script>
 +
<script type='text/javascript'        src ='/common/tablesorter/jquery.tablesorter.min.js'></script>
 +
        <link rel='stylesheet' type='text/css' href='/common/tablesorter/themes/groupparts/style.css' />
 +
        <link rel='stylesheet' type='text/css' href='/common/table_styles.css' />
 +
        <link rel='stylesheet' type='text/css' href='/forum/forum_styles.css' />
 +
<script type='text/javascript'        src ='/forum/forum_scripts.js'></script>
</head>
</head>
 +
<body background="https://static.igem.org/mediawiki/2012/9/96/Background_-_Wikipage.gif" bgColor="#FFFFFF">
<body background="https://static.igem.org/mediawiki/2012/9/96/Background_-_Wikipage.gif" bgColor="#FFFFFF">
<style type="text/css">
<style type="text/css">
 +
 +
/*--Slideshow Begins Here--*/
 +
#slideshow {
 +
display: block;
 +
vertical-align: middle;
 +
        horizontal-align: middle;
 +
position: absolute;
 +
        top: 200px
 +
}
 +
/*--Main Container--*/
 +
#main_view {
 +
margin-left:auto;
 +
margin-right:auto;
 +
position: absolute;
 +
height: 300px; width: 780px;
 +
}
 +
.window {
 +
height: 450px; width: 700px;
 +
overflow: hidden; /*--Hides anything outside of the set width/height--*/
 +
position: absolute;
 +
display: block;
 +
top:50%;
 +
left:70%;
 +
margin: -140px 0 0 -380px;
 +
}
 +
.image_reel {
 +
position: absolute;
 +
top: 0; left: 0;
 +
}
 +
.image_reel img {float: left;}
 +
.paging {
 +
position: absolute;
 +
bottom: 10px; right: 50px;
 +
width: 300px; height:47px;
 +
z-index: 100; /*--Assures the paging stays on the top layer--*/
 +
text-align: right;
 +
line-height: 40px;
 +
font-weight: bold;
 +
background: url(paging_bg2.png) no-repeat;
 +
display: none; /*--Hidden by default, will be later shown with jQuery--*/
 +
}
 +
.paging a {
 +
padding: 5px;
 +
text-decoration: none;
 +
color: #fff; text-shadow: #333 1px 1px 1px;
 +
}
 +
.pause {
 +
position: absolute;
 +
bottom: 10px; right: 20px;
 +
width: 25px; height:47px;
 +
z-index: 200; /*--Assures the paging stays on the top layer--*/
 +
text-align: center;
 +
line-height: 40px;
 +
font-weight: bold;
 +
display: block; /*--Hidden by default, will be later shown with jQuery--*/
 +
}
 +
.pause a {
 +
padding: 5px;
 +
text-decoration: none;
 +
letter-spacing:1px;
 +
font-weight: thick;
 +
color: #f0f0f0; text-shadow: #333 1px 1px 1px;
 +
border: 2px solid #ccc;
 +
-moz-border-radius: 3px;
 +
-khtml-border-radius: 3px;
 +
-webkit-border-radius: 3px;
 +
}
 +
.paging a.active {
 +
font-weight: bold;
 +
border: 2px solid #fff;
 +
-moz-border-radius: 3px;
 +
-khtml-border-radius: 3px;
 +
-webkit-border-radius: 3px;
 +
}
 +
.paging a:hover {font-weight: bold;}
 +
/*--Slideshow Ends Here--*/
div#container
div#container
{
{
Line 186: Line 312:
<div id="g_nav15d" style="position:absolute; left:900px; top:55px; z-index:8"><a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('g_nav15','','https://static.igem.org/mediawiki/2012/9/95/Nav9783445a.gif',1)"href="GALLERY.html"><img name="g_nav15" onLoad="MM_preloadImages('https://static.igem.org/mediawiki/2012/9/95/Nav9783445a.gif')" alt="" border=0 src="https://static.igem.org/mediawiki/2012/7/76/Nav9783445i.gif"></a></div>
<div id="g_nav15d" style="position:absolute; left:900px; top:55px; z-index:8"><a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('g_nav15','','https://static.igem.org/mediawiki/2012/9/95/Nav9783445a.gif',1)"href="GALLERY.html"><img name="g_nav15" onLoad="MM_preloadImages('https://static.igem.org/mediawiki/2012/9/95/Nav9783445a.gif')" alt="" border=0 src="https://static.igem.org/mediawiki/2012/7/76/Nav9783445i.gif"></a></div>
-
<div id="gallery1" style="position:absolute; overflow:hidden; left:133px; top:257px; width:879px; height:614px; z-index:2">
+
<div id="text1" style="position:absolute; overflow:hidden; left:529px; top:132px; width:116px; height:34px; z-index:3">
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="https://2012.igem.org/File:000.jpg" target="_blank"><img border=0 width=100 height=75 src="https://static.igem.org/mediawiki/2012/0/0f/Tn_000.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:13px;width:112px;height:86px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/001.jpg" target="_blank"><img border=0 width=100 height=74 src="images/tn_001.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/002.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_002.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/003.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_003.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/004.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_004.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:12px;top:0px;width:87px;height:112px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/005.jpg" target="_blank"><img border=0 width=75 height=100 src="images/tn_005.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/006.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_006.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/007.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_007.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/008.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_008.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/009.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_009.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/010.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_010.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/011.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_011.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/012.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_012.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/013.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_013.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/014.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_014.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/015.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_015.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/016.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_016.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:12px;top:0px;width:87px;height:112px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/017.jpg" target="_blank"><img border=0 width=75 height=100 src="images/tn_017.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:12px;top:0px;width:87px;height:112px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/018.jpg" target="_blank"><img border=0 width=75 height=100 src="images/tn_018.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/019.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_019.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/020.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_020.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/021.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_021.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/022.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_022.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/023.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_023.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/024.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_024.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/025.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_025.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/026.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_026.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/027.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_027.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/028.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_028.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/029.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_029.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
<div class="item" style="float:left"><div style="margin:6px 6px 0px;width:112px;height:112px"><div style="position:relative;left:0px;top:12px;width:112px;height:87px;background:url('https://static.igem.org/mediawiki/2012/8/8e/Shadow.png') no-repeat right bottom;"><a href="images/030.jpg" target="_blank"><img border=0 width=100 height=75 src="images/tn_030.jpg" style="position:relative;left:3px;top:3px" /></a></div></div></div>
+
-
</div>
+
-
 
+
-
<div id="image1" style="position:absolute; overflow:hidden; left:396px; top:175px; width:64px; height:62px; z-index:3"><img src="https://static.igem.org/mediawiki/2012/0/04/Paste26.jpg"><img src="images/paste26.jpg" alt="" title="" border=0 width=64 height=62></div>
+
-
 
+
-
<div id="text1" style="position:absolute; overflow:hidden; left:525px; top:185px; width:116px; height:34px; z-index:4">
+
<div class="wpmd">
<div class="wpmd">
<div><font color="#99CC00" face="Berlin Sans FB" class="ws20"><B>PHOTOS</B></font></div>
<div><font color="#99CC00" face="Berlin Sans FB" class="ws20"><B>PHOTOS</B></font></div>
</div></div>
</div></div>
 +
 +
<div id="image2" style="position:absolute; overflow:hidden; left:432px; top:102px; width:75px; height:73px; z-index:4"><img src="https://static.igem.org/mediawiki/2012/0/04/Paste26.jpg" alt="" title="" border=0 width=75 height=73></div>
 +
 +
<div id="shape2" style="position:absolute; overflow:hidden; left:150px; top:181px; width:734px; height:510px; z-index:0"><img border=0 width="100%" height="100%" alt="" src="https://static.igem.org/mediawiki/igem.org/6/61/Shape25737793.png"></div>
 +
 +
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
 +
<script type="text/javascript">
 +
$(document).ready(function() {
 +
//Show the paging and activate its first link
 +
$(".paging").show();
 +
$(".paging a:first").addClass("active");
 +
 +
//Get size of the image, how many images there are, then determin the size of the image reel.
 +
var imageWidth = $(".window").width();
 +
var imageSum = $(".image_reel img").size();
 +
var imageReelWidth = imageWidth * imageSum;
 +
 +
//Adjust the image reel to its new size
 +
$(".image_reel").css({'width' : imageReelWidth});
 +
 +
//Paging  and Slider Function
 +
rotate = function(){
 +
var triggerID = $active.attr("rel") - 1; //Get number of times to slide
 +
var image_reelPosition = triggerID * imageWidth; //Determines the distance the image reel needs to slide
 +
$(".paging a").removeClass('active'); //Remove all active class
 +
$active.addClass('active'); //Add active class (the $active is declared in the rotateSwitch function)
 +
 +
//Slider Animation
 +
$(".image_reel").animate({
 +
left: -image_reelPosition
 +
}, 500 );
 +
};
 +
 +
//Rotation  and Timing Event
 +
rotateSwitch = function(){
 +
play = setInterval(function(){ //Set timer - this will repeat itself every 7 seconds
 +
$active = $('.paging a.active').next(); //Move to the next paging
 +
if ( $active.length === 0) { //If paging reaches the end...
 +
$active = $('.paging a:first'); //go back to first
 +
}
 +
rotate(); //Trigger the paging and slider function
 +
}, 6000); //Timer speed in milliseconds (6 seconds)
 +
};
 +
 +
rotateSwitch(); //Run function on launch
 +
 +
//On Hover
 +
//$(".image_reel a").hover(function() {
 +
//clearInterval(play); //Stop the rotation
 +
//}, function() {
 +
//rotateSwitch(); //Resume rotation timer
 +
//});
 +
 +
//On Click
 +
$(".pause a").click(function() {
 +
clearInterval(play); //Stop the rotation
 +
});
 +
 +
 +
//On Click
 +
$(".paging a").click(function() {
 +
$active = $(this); //Activate the clicked paging
 +
//Reset Timer
 +
clearInterval(play); //Stop the rotation
 +
rotate(); //Trigger rotation immediately
 +
rotateSwitch(); // Resume rotation timer
 +
return false; //Prevent browser jump to link anchor
 +
});
 +
});
 +
</script>
 +
 +
<script type="text/javascript">
 +
$(document).ready(function() {
 +
 +
$(".main_image .desc").show(); //Show Banner
 +
$(".main_image .block").animate({ opacity: 0.85 }, 1 ); //Set Opacity
 +
$(".image_thumb ul li:first").addClass('active'); //Add the active class (highlights the very first list item by default)
 +
$(".image_thumb ul li").click(function(){
 +
    //Set Variables
 +
    var imgAlt = $(this).find('img').attr("alt"); //Get Alt Tag of Image
 +
    var imgTitle = $(this).find('a').attr("href"); //Get Main Image URL
 +
    var imgDesc = $(this).find('.block').html();  //Get HTML of the "block" container
 +
    var imgDescHeight = $(".main_image").find('.block').height(); //Find the height of the "block"
 +
 +
    if ($(this).is(".active")) {  //If the list item is active/selected, then...
 +
        return false; // Don't click through - Prevents repetitive animations on active/selected list-item
 +
    } else { //If not active then...
 +
        //Animate the Description
 +
        $(".main_image .block").animate({ opacity: 0, marginBottom: -imgDescHeight }, 250 , function() { //Pull the block down (negative bottom margin of its own height)
 +
            $(".main_image .block").html(imgDesc).animate({ opacity: 0.85,  marginBottom: "0" }, 250 ); //swap the html of the block, then pull the block container back up and set opacity
 +
            $(".main_image img").attr({ src: imgTitle , alt: imgAlt}); //Switch the main image (URL + alt tag)
 +
        });
 +
    }
 +
    //Show active list-item
 +
    $(".image_thumb ul li").removeClass('active'); //Remove class of 'active' on all list-items
 +
    $(this).addClass('active');  //Add class of 'active' on the selected list
 +
    return false;
 +
 +
}) .hover(function(){ //Hover effects on list-item
 +
    $(this).addClass('hover'); //Add class "hover" on hover
 +
    }, function() {
 +
    $(this).removeClass('hover'); //Remove class "hover" on hover out
 +
});
 +
$("a.collapse").click(function(){
 +
    $(".main_banner .block").slideToggle(); //Toggle the description (slide up and down)
 +
    $("a.collapse").toggleClass("show"); //Toggle the class name of "show" (the hide/show tab)
 +
});
 +
});//Close Function
 +
</script>
 +
 +
<div id="slideshow"> <!--???-->
 +
<div class="textboxes" id="main_view"> <!--???-->
 +
    <div class="window"> <!--???-->
 +
        <div class="image_reel"> <!--Slideshow Pics go here - 760x280px -->
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/5/51/000.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/a/a0/001.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/1/11/002.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/9/9c/003.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/c/c0/004.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/6/66/005.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/6/6b/006.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/1/10/007.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/3/39/008.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/c/c2/009.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/a/a6/010.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/6/62/011.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/9/93/012.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/3/32/013.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/0/0c/014.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/e/ed/016.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/2/29/017.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/2012/4/42/018.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/2/20/020.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/8/81/021.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/d/d4/022.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/6/69/023.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/c/c0/024.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/b/b8/025.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/a/a5/026.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/0/0f/027.jpg" alt="" /></a>
 +
            <a href="#"><img src="https://static.igem.org/mediawiki/igem.org/6/66/030.jpg" alt="" /></a>
 +
        </div>
 +
    </div>
 +
<div class="paging">
 +
        <a href="#" rel="1">1</a>
 +
        <a href="#" rel="2">2</a>
 +
        <a href="#" rel="3">3</a>
 +
        <a href="#" rel="4">4</a>
 +
        <a href="#" rel="5">5</a>
 +
        <a href="#" rel="6">6</a>
 +
        <a href="#" rel="7">7</a>
 +
        <a href="#" rel="8">8</a>
 +
        <a href="#" rel="9">9</a>
 +
        <a href="#" rel="10">10</a>
 +
        <a href="#" rel="11">11</a>
 +
        <a href="#" rel="12">12</a>
 +
        <a href="#" rel="13">13</a>
 +
        <a href="#" rel="14">14</a>
 +
        <a href="#" rel="15">15</a>
 +
        <a href="#" rel="16">16</a>
 +
        <a href="#" rel="17">17</a>
 +
        <a href="#" rel="18">18</a>
 +
        <a href="#" rel="19">19</a>
 +
        <a href="#" rel="20">20</a>
 +
        <a href="#" rel="21">21</a>
 +
        <a href="#" rel="22">22</a>
 +
        <a href="#" rel="23">23</a>
 +
        <a href="#" rel="24">24</a>
 +
        <a href="#" rel="25">25</a>
 +
        <a href="#" rel="26">26</a>
 +
        <a href="#" rel="27">27</a>
 +
        <a href="#" rel="28">28</a>
 +
    </div>
 +
<div class="pause"><a href="#">II</a></div>
 +
</div>
 +
</div>
 +
</td>
</body>
</body>
</html>
</html>

Latest revision as of 20:39, 26 September 2012

/*]]>*/

PHOTOS