Team:UNITN-Trento/JS/Home
From 2013.igem.org
(Difference between revisions)
(Created page with "$(document).ready(function() { $(".silhouette").mouseenter(function() { $(this).children(".photo-1").css({'display' : 'none'}); $(this).children(".photo-2").c...") |
|||
Line 1: | Line 1: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
+ | $('#jms-slideshow').jmslideshow(); | ||
+ | |||
$(".silhouette").mouseenter(function() { | $(".silhouette").mouseenter(function() { | ||
$(this).children(".photo-1").css({'display' : 'none'}); | $(this).children(".photo-1").css({'display' : 'none'}); |
Latest revision as of 08:43, 22 September 2013
$(document).ready(function() {
$('#jms-slideshow').jmslideshow();
$(".silhouette").mouseenter(function() { $(this).children(".photo-1").css({'display' : 'none'}); $(this).children(".photo-2").css({'display' : 'block'}); }); $(".silhouette").mouseleave(function() { $(this).children(".photo-1").css({'display' : 'block'}); $(this).children(".photo-2").css({'display' : 'none'}); });
});