Difference between revisions of "Team:SCAU-China/Notebook"

Line 419: Line 419:
 
<img src="https://static.igem.org/mediawiki/2016/b/b9/T--SCAU-China--Home1.png" onClick="abc()" width="60px" />
 
<img src="https://static.igem.org/mediawiki/2016/b/b9/T--SCAU-China--Home1.png" onClick="abc()" width="60px" />
 
</div>
 
</div>
 +
<script>
 +
window.onload=function(){
 +
 +
var p=document.getElementsByClassName('carousel-item');
 +
var pp=document.getElementById('pp');
 +
for(var i=0;i<p.length;i++)
 +
{
 +
p[i].onclick=function ()
 +
{
 +
var a=this.firstElementChild;
 +
    pp.src=a.src;
 +
}
 +
}
 +
 +
var s=document.getElementsByClassName('slider');
 +
$('.carousel').carousel({dist: -50});
 +
$('.carousel').carousel({shift: 100});
 +
$('.carousel').carousel({indicators: true});
 +
 +
      $('.carousel').slider({full_width: true});
 +
 +
$('.materialboxed').materialbox();
 +
}
 +
</script>
 
<script>
 
<script>
 
var timer = null;
 
var timer = null;

Revision as of 21:03, 14 October 2016

SCAU

Notebook
image