Team:UNITN-Trento/JS/Team

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
$(document).ready(function() {
$(document).ready(function() {
-
//$( '#jms-slideshow' ).jmpress();
+
$(function() {
-
$( '#jms-slideshow' ).jmslideshow();
+
 +
var jmpressOpts = {
 +
animation : { transitionDuration : '0.8s' }
 +
};
 +
 +
$( '#jms-slideshow' ).jmslideshow( $.extend( true, { jmpressOpts : jmpressOpts }, {
 +
autoplay : true,
 +
bgColorSpeed: '0.8s',
 +
arrows : false
 +
}));
 +
 +
});
});
});

Revision as of 08:07, 9 August 2013

$(document).ready(function() { $(function() {

var jmpressOpts = { animation : { transitionDuration : '0.8s' } };

$( '#jms-slideshow' ).jmslideshow( $.extend( true, { jmpressOpts : jmpressOpts }, { autoplay : true, bgColorSpeed: '0.8s', arrows : false }));

}); });