Team:SJTU-BioX-Shanghai

From 2012.igem.org

(Difference between revisions)
Line 297: Line 297:
   $(function() {   
   $(function() {   
$(document).ready(function(){
$(document).ready(function(){
-
$("#pics-list div").hover(function(){clearInterval(_play)}, function(){play()});
+
$("#pics-list img").hover(function(){clearInterval(_play)}, function(){play()});
$("#pics-title > li").hover(function(){
$("#pics-title > li").hover(function(){
clearInterval(_play);
clearInterval(_play);
Line 313: Line 313:
{
{
$("#pics-title > li").attr('class','').eq(num).attr('class','select').blur();
$("#pics-title > li").attr('class','').eq(num).attr('class','select').blur();
-
$("#pics-list div").hide().eq(num).fadeIn('slow');
+
$("#pics-list img").hide().eq(num).fadeIn('slow');
}
}
function auto()
function auto()

Revision as of 21:00, 26 September 2012