Template:Team:Nevada:Header

From 2012.igem.org

(Difference between revisions)
Line 97: Line 97:
height: auto;
height: auto;
padding: 0;
padding: 0;
-
}
 
-
.RightBar {
 
-
color: #D6D6D6;
 
-
background-color: #999;
 
-
position: absolute;
 
-
height: 100%;
 
-
width: 20%;
 
-
right: 0px;
 
-
        top:0px;
 
-
opacity:0.3;
 
-
}
 
-
.LeftBar {
 
-
color: #D6D6D6;
 
-
background-color: #999;
 
-
position: absolute;
 
-
height: 100%;
 
-
width: 10%;
 
-
right: 0px;
 
-
opacity:0.3;
 
}
}
.TopBar {
.TopBar {
Line 147: Line 128:
height: auto;
height: auto;
width:100%;
width:100%;
-
float:left;
+
float:center;
         margin-bottom:40px;
         margin-bottom:40px;
         margin-left:40px;
         margin-left:40px;
Line 183: Line 164:
}
}
.ColorBlue {
.ColorBlue {
-
background-color: #A1BAC0;
+
background-color: #002b55;
}
}
.ColorBlueLight {
.ColorBlueLight {
Line 199: Line 180:
color: #FFF;
color: #FFF;
}
}
-
#SlidePanel {
+
 
-
float: left;
+
-
height: 100%;
+
-
width: 100%;
+
-
background-color: #CCC;
+
-
text-align: center;
+
-
vertical-align: middle;
+
-
}
+
.tile {
.tile {
float: left;
float: left;
Line 359: Line 333:
</style>
</style>
-
 
-
<script>
 
-
function swapImage()
 
-
{
 
-
var $curr = $('.CurrentSlide');
 
-
var $next;
 
-
if($('.CurrentSlide').next().length > 0 )
 
-
{
 
-
$next=$('.CurrentSlide').next();
 
-
}
 
-
else
 
-
{
 
-
$next = $('#SlidePanel img:first');
 
-
}
 
-
 
-
$curr.fadeOut('slow',function(){$curr.removeClass('CurrentSlide');$next.fadeIn('slow');$next.addClass('CurrentSlide');});
 
-
 
-
}
 
-
 
-
$(document).ready( function() {
 
-
setInterval("swapImage()",3000);
 
-
});
 
-
</script>
 
</html>
</html>

Revision as of 22:47, 13 June 2012