Template:Team:KIT-Kyoto/hp

From 2014.igem.org

(Difference between revisions)
Line 36: Line 36:
clearInterval(loop2);
clearInterval(loop2);
$("#stop").removeClass('stop');
$("#stop").removeClass('stop');
-
$("#stop a").css("background","url(/wiki/images/0/0c/Kit_Play.png) no-repeat");
+
$("#stop a").css("background-image","url(/wiki/images/0/0c/Kit_Play.png)");
}else {
}else {
loop1 = setInterval(slide1,6000);
loop1 = setInterval(slide1,6000);
loop2 = setInterval(slide2,6000);
loop2 = setInterval(slide2,6000);
$("#stop").addClass('.stop');
$("#stop").addClass('.stop');
-
$("#stop a").css("background","url(/wiki/images/9/90/Kit_Pause.png) no-repeat");
+
$("#stop a").css("background-image","url(/wiki/images/9/90/Kit_Pause.png)");
}
}
});
});
Line 217: Line 217:
#stop a{
#stop a{
display:block;
display:block;
-
background:url(/wiki/images/9/90/Kit_Pause.png) no-repeat;
+
background-image:url(/wiki/images/9/90/Kit_Pause.png) no-repeat;
background-size:25px 25px;
background-size:25px 25px;
width:25px;
width:25px;

Revision as of 13:34, 30 September 2014