Widget:Slides: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 40: Line 40:
     position: relative;
     position: relative;
     float: left;
     float: left;
    width: 100%;
}
}
</style>
</style>
Line 60: Line 61:
             width = current.width();
             width = current.width();
         if(!current.is(':nth-last-child(2)')){
         if(!current.is(':nth-last-child(2)')){
             current.hide().next('.ss_content').fadeIn(500);
             current.hide().next('ss_content').fadeIn(500);
         }
         }
         else if(loop){
         else if(loop){
Line 66: Line 67:
         }
         }
     });
     });
     $('.ss_contents .ss_content:first-child').siblings().hide();
     $('.ss_content .ss_content:first-child').siblings().hide();
});
});
</script>
</script>