Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 19:50, 17 April 2015
67 bytes added
,
9 years ago
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);
Benlisquare
270
edits