Difference between revisions of "Team:UNITN-Trento/Test"

Line 5: Line 5:
 
</html>{{UNITN-Trento/globalIncluder}}<html>
 
</html>{{UNITN-Trento/globalIncluder}}<html>
 
<script src="https://2015.igem.org/Template:UNITN-Trento/JSModernizer?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Template:UNITN-Trento/JSModernizer?action=raw&ctype=text/javascript"></script>
<script src="https://2015.igem.org/Template:UNITN-Trento/JSPapaParse?action=raw&ctype=text/javascript"></script>
 
 
<script src="https://2015.igem.org/Template:UNITN-Trento/JSscrollTo?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Template:UNITN-Trento/JSscrollTo?action=raw&ctype=text/javascript"></script>
<script src="https://2015.igem.org/Template:UNITN-Trento/JSnotebookFunctions?action=raw&ctype=text/javascript"></script>
 
 
 
 
<link rel="stylesheet" type="text/css" href="http://www.startrekfederation.it/transfer_area/timeline.css?action=raw&ctype=text/css" />  
 
<link rel="stylesheet" type="text/css" href="http://www.startrekfederation.it/transfer_area/timeline.css?action=raw&ctype=text/css" />  
Line 25: Line 23:
  
 
<header>
 
<header>
<h2><strong>Notebook</strong></h2>
+
<h2><strong>Meet the UNITN Team</strong></h2>
<p>Check out our experiments by selecting one of the sections we have worked in!</p>
+
<p>Alessandro, Elisa, Claudio, Silvia, Veronica, Riccardo and Moreno</p>
 
</header>
 
</header>
<footer>
 
<ul class="buttons">
 
<li><p id="cd-timeline_PR_btn" class="button small PR" onclick="javascript:scrollandfade('cd-timeline_PR')"><span class="primary">PR</span><span class="secondary">Proteorhodopsin</span></p></li>
 
<li><p id="cd-timeline_BLH_btn" class="button small BLH" onclick="javascript:scrollandfade('cd-timeline_BLH')"><span class="primary">BLH</span><span class="secondary">B-Carotene-Dioxygenase</span></p></li>
 
<li><p id="cd-timeline_PNCB_btn" class="button small PNCB" onclick="javascript:scrollandfade('cd-timeline_PNCB')"><span class="primary">PNCB</span><span class="secondary">PNCB ?</span></p></li>
 
</ul>
 
<ul class="buttons">
 
<li><p id="cd-timeline_CYT_btn" class="button small CYT" onclick="javascript:scrollandfade('cd-timeline_CYT')"><span class="primary">CYT</span><span class="secondary">Cytochrome</span></p></li>
 
<li><p id="cd-timeline_MFC_btn"class="button small MFC" onclick="javascript:scrollandfade('cd-timeline_MFC')"><span class="primary">MFC</span><span class="secondary">Microbial Fuel Cell</span></p></li>
 
<li><p id="cd-timeline_INTERLAB_btn" class="button small INTERLAB" onclick="javascript:scrollandfade('cd-timeline_INTERLAB')"><span class="primary">INTERLAB</span><span class="secondary">Mesurements</span></p></li>
 
</ul>
 
</footer>
 
 
 
</section>
 
</section>
 
 
 
<article id="main">  
 
<article id="main">  
 
   
 
   
<section id="cd-timeline_BLH" class="cd-container">
+
Test writing
</section> <!-- cd-timeline -->
+
<section id="cd-timeline_INTERLAB" class="cd-container"></section> <!-- cd-timeline -->
+
<section id="cd-timeline_CYT" class="cd-container"></section> <!-- cd-timeline -->
+
<section id="cd-timeline_MFC" class="cd-container"></section> <!-- cd-timeline -->
+
<section id="cd-timeline_PNCB" class="cd-container"></section> <!-- cd-timeline -->
+
<section id="cd-timeline_PR" class="cd-container"></section> <!-- cd-timeline -->
+
 
 
 
</article>
 
</article>
Line 61: Line 40:
  
 
<!-- Scripts -->  
 
<!-- Scripts -->  
<script>
 
jQuery(document).ready(function($){
 
Papa.parse('https://static.igem.org/mediawiki/2015/e/ed/Unitn_nb.csv.txt', {
 
delimiter: ",", // auto-detect
 
newline: "", // auto-detect
 
header: true,
 
download:true,
 
dynamicTyping: false,
 
preview: 0,
 
encoding: "",
 
worker: false,
 
comments: false,
 
step: undefined,
 
complete: function(data){
 
$.each(data['data'],function(k,v){
 
$('#cd-timeline_'+v['Segment']).append('<div class="cd-timeline-block"><div class="cd-timeline-img is-hidden '+v['Author']+'"></div><div class="cd-timeline-content is-hidden"><h2>'+v['Title']+'</h2><p>'+v['Text']+'</p><span class="cd-date">'+v['Date']+'</span></div></div>');
 
});
 
},
 
error: undefined,
 
skipEmptyLines: true,
 
chunk: undefined,
 
fastMode: undefined,
 
beforeFirstChunk: undefined,
 
});
 
 
 
}); 
 
</script>
 
 
 
</div>
 
</div>
 
</div>
 
</div>
 
</html>
 
</html>

Revision as of 08:27, 10 August 2015