Team:Queens Canada

From 2013.igem.org

(Difference between revisions)
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 xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<head>
Line 6: Line 7:
<script type="text/javascript" src="../../Downloads/jquery-visible-master/jquery.visible.js"></script>
<script type="text/javascript" src="../../Downloads/jquery-visible-master/jquery.visible.js"></script>
<style>
<style>
-
html{
 
-
      margin:0;
 
-
      padding:0;
 
-
 
-
}
 
*{
*{
margin:0;
margin:0;
padding:0;
padding:0;
}
}
-
 
+
html{
 +
white-space:nowrap;
 +
word-spacing:0;
 +
padding:0;
 +
margin:0;
 +
}
/* ----------------Display:none---------------- */
/* ----------------Display:none---------------- */
#p-logo {
#p-logo {
Line 42: Line 43:
#top-section{
#top-section{
-
        display:none;
+
    display:none;
}
}
#globalWrapper{
#globalWrapper{
-
        margin:0;
+
    margin:0;
-
        padding:0;
+
    padding:0;
}
}
#content{
#content{
-
        margin:0;
+
    margin:0;
-
        padding:0;
+
    padding:0;
}
}
#bodyContent{
#bodyContent{
-
        margin:0;
+
    margin:0;
-
        padding:0;
+
    padding:0;
}
}
#menubar{
#menubar{
-
      display:none;
+
    display:none;
}
}
/**---------PAGE------------**/
/**---------PAGE------------**/
Line 73: Line 74:
body{
body{
background:white;
background:white;
-
background-size:cover;
+
background-siz:cover;
z-index:-999;
z-index:-999;
}
}
Line 85: Line 86:
min-width:100%;
min-width:100%;
min-height:100%;
min-height:100%;
-
        height:100%
 
}
}
.home-body{
.home-body{
background:none repeat scroll 0 0 #FBFBFB;
background:none repeat scroll 0 0 #FBFBFB;
-
margin-top:600px;
 
-
margin-left,margin-right,margin-bottom:0px;
 
padding:0px;
padding:0px;
height:auto;
height:auto;
Line 96: Line 94:
position:relative;
position:relative;
display:inline-block;
display:inline-block;
 +
left:0px;
 +
right:0px;
 +
bottom:0px;
z-index:1;
z-index:1;
position:relative;
position:relative;
-
        min-width:100%;
 
-
        background-size:cover;
 
}
}
.tattletale{
.tattletale{
Line 114: Line 113:
.center-align{
.center-align{
text-align:center;
text-align:center;
-
        float:center;
 
}
}
.container{
.container{
Line 266: Line 264:
     var screenHeight = $(window).height();
     var screenHeight = $(window).height();
     return (curTop >= screenHeight) ? false : true;
     return (curTop >= screenHeight) ? false : true;
 +
}
 +
 +
function threshold(element)
 +
{
 +
var curPos = element.offset();
 +
var curTop = curPos.top;
 +
var screenHeight = $(window).height();
 +
if (curTop == screenHeight){
 +
if (curTop > screenHeight){ return 1;}
 +
else {return (-1);}
 +
}
 +
return 0;
}
}
$(document).ready(function(){
$(document).ready(function(){
-
$(".logo-bar").fadeOut('fast');
 
var height = $(window).height();
var height = $(window).height();
var val = (height.toString())+"px";
var val = (height.toString())+"px";
$(".home-body").css("margin-top",val);
$(".home-body").css("margin-top",val);
 +
 +
$(window).resize(function(){
$(window).resize(function(){
Line 279: Line 290:
$(".home-body").css("margin-top",val);
$(".home-body").css("margin-top",val);
});
});
 +
$(window).scroll(function(){
$(window).scroll(function(){
Line 288: Line 300:
}
}
else{
else{
-
$(".logo-bar").fadeOut('fast');
+
$(".logo-bar").css("display","none");
$(".top-menu a:link").css("color","#83282a");
$(".top-menu a:link").css("color","#83282a");
$(".top-menu-low a:link").css("color","#83282a");
$(".top-menu-low a:link").css("color","#83282a");
Line 294: Line 306:
}
}
});
});
-
 
-
/*var icecap = $(window).height();
 
-
$(window).resize(function(){
 
-
$(".home-body").css("margin-top",(icecap+"px"));
 
-
});
 
-
var p = $("p:first");
 
-
var offset=p.offset();
 
-
if(offset<=10){
 
-
$(".actualimg").fadeTo("fast",0);
 
-
}*/
 
});
});
</script>
</script>
-
 
</body>
</body>
</html>
</html>

Revision as of 17:12, 30 May 2013

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Untitled Document

>

More to come in the near future!


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler


This is filler