Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Gadget-SiteScroll.js
(view source)
Revision as of 04:05, 2 November 2019
21 bytes added
,
5 years ago
no edit summary
Line 4:
Line 4:
* Original from touhouwiki
* Original from touhouwiki
*/
*/
+
var AutoScroll = function(objNotice) {
var AutoScroll = function(objNotice) {
−
$(objNotice).find("ul:first").animate({
+
$(objNotice).find("ul:first").animate(
−
marginTop:"-25px"
+
{
−
},500,function(){
+
marginTop:"-25px"
−
$(this).css({marginTop: "0px"}).find("li:first").appendTo(this);
+
},
−
}
)
;
+
500,
−
}
;
+
function(){
+
$(this).css({marginTop: "0px"}).find("li:first").appendTo(this);
+
}
+
)
+
}
$(document).ready(function() {
$(document).ready(function() {
Line 18:
Line 23:
var target = $(this);
var target = $(this);
target.css('opacity', 0).animate({opacity: 1}, 1000);
target.css('opacity', 0).animate({opacity: 1}, 1000);
−
})
;
+
})
−
})
;
+
})
Gensui Hime
Bureaucrats
,
Administrators
23,827
edits