Team:Wageningen UR/Templates/Page Header

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
__NOTOC__<html>
__NOTOC__<html>
-
<script src="http://friquemag.net/demos/timeliner/js/jquery.timeliner.min.js"></script>
 
-
<script>
 
-
var windowW = $(window).width();
 
-
var timeW = windowW*.8906244;
 
-
 
-
function slider(){
 
-
$('#example3').fadeIn(1000).timeliner({
 
-
        containerwidth: windowW,
 
-
containerheight: 400,
 
-
        timelinewidth: timeW,
 
-
timelineheight: 2,
 
-
timelineverticalmargin: 20,
 
-
autoplay: true,
 
-
repeat: false,
 
-
        showtimedisplay: false,
 
-
transition: 'fade'
 
-
});
 
-
setTimeout(function() {$('.slider').css({'background': 'none'});}, 2000);
 
-
}
 
-
 
-
$(document).ready(function(){
 
-
        setTimeout(function() { slider(); }, 4000);
 
-
});
 
-
 
-
function end_callback(id){
 
-
if(id=='example3'){
 
-
setTimeout(function() { $('#example3').timeliner.play(); }, 5000);
 
-
}
 
-
}
 
-
</script>
 
<style type="text/css">
<style type="text/css">
/* Reset globals  
/* Reset globals  

Revision as of 01:51, 27 July 2013


Page title

List of templates:

Team:Wageningen_UR/Templates/Page Header
this page, include at the start of every page. This page contains all the css needed to style all of the pages.
Team:Wageningen_UR/Templates/Page Footer
include at the end of every page. This page contains all js for all the more complex functions in this wiki.
Team:Wageningen_UR/Templates/Navigation
edit the menu here