- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2019-01-29T23:41:41+09:00","default:kmf","kmf")
#author("2019-01-30T00:14:05+09:00","default:kmf","kmf")
https://webllica.com/jquery-now-loading/
#code(javascript){{
function dispLoading(msg) {
if( msg == undefined ){
msg = '';
}
var dispMsg = '<div class="loadingMsg">' + msg + '</div>';
if($('#loading').length == 0){
$('body').append('<div id="loading">' + dispMsg + '</div>');
}
}
function removeLoading() {
$('#loading').remove();
}
}}
#code(css){{
<style type="text/css">
#loading {
display: table;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: #fff;
opacity: 0.8;
}
#loading .loadingMsg {
display: table-cell;
text-align: center;
vertical-align: middle;
padding-top: 140px;
background: url('kurukuru.gif') center center no-repeat;
}
</style>
}}
----
&tag();
RIGHT:Today:&counter(today); Yesterday:&counter(yesterday); Total:&counter(total);