Changes

add descriptions to code; translate zh -> en
Line 1: Line 1:  +
/**
 +
* Scrolling text
 +
*
 +
* Copied from zh.kancollewiki.net
 +
*/
 +
 
function AutoScroll(objNotice) {
 
function AutoScroll(objNotice) {
 
     $(objNotice).find("ul:first").animate({
 
     $(objNotice).find("ul:first").animate({
Line 9: Line 15:  
$(document).ready(function() {
 
$(document).ready(function() {
 
     setInterval('AutoScroll("#scrollDiv")',5000);
 
     setInterval('AutoScroll("#scrollDiv")',5000);
     //图片载入效果
+
     //image loading effect
 
     $('img').on('load', function(e){
 
     $('img').on('load', function(e){
 
         var target = $(this);
 
         var target = $(this);
270

edits