Team:Calgary/Sandbox

From 2013.igem.org

(Difference between revisions)
(Undo revision 75587 by Wkeithvan (talk))
Line 1: Line 1:
 +
{{Team:Calgary/Main}}
<html>
<html>
-
<head>
+
<body>
-
<!-- Reset for BodyContent -->
+
<div id="Slider">
-
<style>
+
<div id="Slide0" class="Slides"></div>
-
#content{
+
<div id="Slide1" class="Slides"></div>
-
width: 100%;
+
<div id="Slide2" class="Slides"></div>
-
margin: 0;
+
<div id="Slide3" class="Slides"></div>
-
padding: 0;
+
<div id="Slide4" class="Slides"></div>
-
background-color:transparent;
+
<div id="LeftBar" class="SideBar"><div id="LeftArrow"></div></div>
-
border: none;
+
<div id="RightBar" class="SideBar"><div id="RightArrow"></div></div>
-
}
+
<ul id="BottomLinks">
-
+
<li id="Link0" class="SlideLink">Red<!--London--></li><li id="Link1" class="SlideLink">Orange<!--Flower--></li><li id="Link2" class="SlideLink">Green<!--Blue--></li><li id="Link3" class="SlideLink">Blue<!--Tea--></li><li id="Link4" class="SlideLink">Purple<!--Macarons--></li>
-
#bodyContent{
+
</ul>
-
width: 100%;
+
</div>
-
margin: 0;
+
-
padding: 0;
+
-
background-color:transparent;
+
-
border: none;
+
-
}
+
-
</style>
+
-
<!-- Fonts -->
+
<section id="Overview">
-
<link href='http://fonts.googleapis.com/css?family=Roboto:300,400,500' rel='stylesheet' type='text/css'>
+
<h2>Generic Title Goes Here</h2>
-
<link href='http://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700,800,900' rel='stylesheet' type='text/css'>
+
<p>
-
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans:700' rel='stylesheet' type='text/css'>
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.
-
<link href='http://fonts.googleapis.com/css?family=Cabin:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
+
</p>
 +
<p>
 +
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.
 +
</p>
 +
</section>
-
<!-- CSS -->
+
<section id="SectionLinks">
-
<link href="https://2013.igem.org/Team:Calgary/Sandbox/StyleSheets/Reset?action=raw&ctype=text/css" rel="stylesheet">
+
<div class="DescriptionLink">
-
<link href="https://2013.igem.org/Team:Calgary/Sandbox/StyleSheets/Navigation?action=raw&ctype=text/css" rel="stylesheet">
+
<h2>Link 1</h2>
-
<link href="https://2013.igem.org/Team:Calgary/Sandbox/StyleSheets/HomePage?action=raw&ctype=text/css" rel="stylesheet">
+
<p>
-
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
-
<!-- JavaScript and JQuery -->
+
</p>
-
<script>
+
</div>
-
$(document).ready(function() {
+
-
if ($('body').width() > 868) {
+
-
$('#TopBar').css('padding-left', Math.floor(($('body').width() - 868) / 2));
+
-
$('#LogoItem').css('display', 'block');
+
-
}
+
-
else if ($('body').width() <= 868) {
+
-
if ($('body').width() > 744) {
+
-
$('#TopBar').css('padding-left', Math.floor(($('body').width() - 744) / 2));
+
-
$('#LogoItem').css('display', 'none');
+
-
}
+
-
}
+
-
var ScreenWidth = $('body').width();
+
-
if (ScreenWidth > 1007) {
+
-
var Margins = Math.floor(ScreenWidth * .086666);
+
-
var ElementWidth = Math.floor(ScreenWidth * .37);
+
-
+
-
$('#SectionLinks').css('padding-left', Margins);
+
-
$('#SectionLinks').css('padding-top', Margins);
+
-
$('#SectionLinks .DescriptionLink').css('margin-right', Margins);
+
-
$('#SectionLinks .DescriptionLink').css('margin-bottom', Margins);
+
-
$('#SectionLinks .DescriptionLink').css('width', ElementWidth);
+
-
}
+
-
$(window).resize(function() {
+
<div class="DescriptionLink">
-
if ($('body').width() > 868) {
+
<h2>Link 2</h2>
-
$('#TopBar').css('padding-left', Math.floor(($('body').width() - 868) / 2));
+
<p>
-
$('#LogoItem').css('display', 'block');
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
-
}
+
</p>
-
else if ($('body').width() <= 868) {
+
</div>
-
if ($('body').width() > 744) {
+
-
$('#TopBar').css('padding-left', Math.floor(($('body').width() - 744) / 2));
+
-
$('#LogoItem').css('display', 'none');
+
-
}
+
-
}
+
-
 
+
-
var ScreenWidth = $('body').width();
+
-
if (ScreenWidth > 1007) {
+
-
var Margins = Math.floor(ScreenWidth * .086666);
+
-
var ElementWidth = Math.floor(ScreenWidth * .37);
+
-
+
-
$('#SectionLinks').css('padding-left', Margins);
+
-
$('#SectionLinks').css('padding-top', Margins);
+
-
$('#SectionLinks .DescriptionLink').css('margin-right', Margins);
+
-
$('#SectionLinks .DescriptionLink').css('margin-bottom', Margins);
+
-
$('#SectionLinks .DescriptionLink').css('width', ElementWidth);
+
-
}
+
-
 
+
-
});
+
-
});
+
-
</script>
+
-
<script>
+
-
$(document).ready(function() {
+
-
//Set height of slider (12/7 ratio)
+
-
$('#Slider').css('height', ($('body').width() / 2.4));
+
-
//Position right/left arrows
+
<div class="DescriptionLink">
-
var BarHeight = $('#Slider').height() -  $('#BottomLinks').height();
+
<h2>Link 3</h2>
-
$('#LeftBar, #RightBar').css('height', BarHeight);
+
<p>
-
$('#LeftArrow, #RightArrow').css('top', (BarHeight-60)/2);
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
-
 
+
</p>
-
//Repeats for window resize
+
</div>
-
$(window).resize(function() {
+
-
$('#Slider').css('height', ($('body').width() / 2.4));
+
-
+
-
var BarHeight = $('#Slider').height() -  $('#BottomLinks').height();
+
-
$('#LeftBar, #RightBar').css('height', BarHeight);
+
-
$('#LeftArrow, #RightArrow').css('top', (BarHeight-60)/2);
+
-
});
+
-
 
+
-
// var preloadImages = ['TestSlide0.jpg','TestSlide1.jpg','TestSlide2.jpg','TestSlide3.jpg','TestSlide4.jpg'];
+
-
// var images = [];
+
-
// for (var count = 0; count < preloadImages.length; count++) {
+
-
// images[count] = new Image();
+
-
// images[count].src = preloadImages[count];
+
-
// }
+
-
var TotalSlides = $('.Slides').length
+
<div class="DescriptionLink">
-
var CurrentSlide = 0;
+
<h2>Link 4</h2>
-
 
+
<p>
-
$('#RightArrow').click(function() {
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
-
CurrentSlide = ++CurrentSlide % TotalSlides;
+
</p>
-
$('.Slides').css('display', 'none');
+
</div>
-
SlideID = '#Slide' + CurrentSlide;
+
</section>
-
$(SlideID).css('display', 'block');
+
-
 
+
-
});
+
-
+
-
$('#LeftArrow').click(function() {
+
-
CurrentSlide = (CurrentSlide + TotalSlides - 1) % TotalSlides;
+
-
$('.Slides').css('display', 'none');
+
-
SlideID = '#Slide' + CurrentSlide;
+
-
$(SlideID).css('display', 'block');
+
-
 
+
-
});
+
-
+
-
$('.SlideLink').click(function() {
+
-
var ClickedSlide = $(this).attr('id');
+
-
CurrentSlide = parseInt(ClickedSlide.replace('Link', ''));
+
-
$('.Slides').css('display', 'none');
+
-
SlideID = '#Slide' + CurrentSlide;
+
-
$(SlideID).css('display', 'block');
+
-
 
+
-
});
+
-
});
+
-
</script>
+
-
</head>
+
-
 
+
-
<body>
+
-
<header id="TopBar">
+
-
<ul id="TopLvlNav">
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/">Home</a></li>
+
-
<li>
+
-
<a href="https://2013.igem.org/Team:Calgary/Sandbox/Project">Project</a>
+
-
<ul>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Project/Tales">Tales</a>
+
-
<ul>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Project/Ferritin">Ferritin</a>
+
-
<ul>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Project/Linker">Linker</a>
+
-
<ul>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Project/Engineering">Engineering</a>
+
-
<ul>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Project/HumanPractices">Human Practices</a>
+
-
<ul>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Project/References">References</a></li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Project/Attributions">Attributions</a></li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Project/Sponsors">Sponsors</a></li>
+
-
</ul>
+
-
</li>
+
-
<li>
+
-
<a href="https://2013.igem.org/Team:Calgary/Sandbox/OurTeam">Our Team</a>
+
-
<ul>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/OurTeam/TeamMembers">Team Members</a></li>
+
-
<li><a href="https://igem.org/Team.cgi?id=1189" target="_blank">Our Profile</a></li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/OurTeam/TheUniversity">The<br>University</a></li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/OurTeam/ContactUs">Contact Us</a></li>
+
-
</ul>
+
-
</li>
+
-
<li id="LogoItem"><img id="NavLogo" src="HexLogo.png"></li>
+
-
<li>
+
-
<a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook">Notebook</a>
+
-
<ul>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook/Journal">Journal</a>
+
-
<ul>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook/Journal/TalesJournal">Tales</a></li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook/Journal/FerritinJournal">Ferritin</a></li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook/Journal/LinkerJournal">Linker</a></li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook/Journal/EngineeringJournal">Engineering</a></li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook/Journal/HumanPracticesJournal">Human Practices</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook/Protocols">Protocols</a>
+
-
<ul>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a href="https://2013.igem.org/Team:Calgary/Sandbox/Notebook/Parts">Parts</a></li>
+
-
</ul>
+
-
</li>
+
-
<li>
+
-
<a href="https://2013.igem.org/Team:Calgary/Sandbox/Outreach">Outreach</a>
+
-
<ul>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
<li><a href="#">Sub-Page</a></li>
+
-
</ul>
+
-
</li>
+
-
<li>
+
-
<a href="https://2013.igem.org" target="_blank">iGEM</a>
+
-
</li>
+
-
</ul>
+
-
</header>
+
-
+
-
<div id="NavHeight"></div>
+
</body>
</body>
</html>
</html>

Revision as of 22:27, 16 August 2013

Generic Title Goes Here

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.