- トップ
- 特集
- ウクライナ侵略
ロシア国防省は11日、南部ロストフ州タガンログの空軍基地がウクライナ軍のミサイル攻撃を受け、負傷者が出たほか、迎撃時の破片で建物などが損傷し…
地図で見るウクライナ侵攻
現地時間
1/25 08:36
※ニュース一覧の日時表示は日本時間の掲載日時
2/24侵攻開始
10戻る▼▼
戻る▼
進む▲
10進む▲▲
最新ニュース
");
$(".u_point03").remove();
$(".point_wrap").append( "
");
$(".u_point02").css("opacity","1")
$(".u_point03").css("opacity","1")
for( var i = 0 ; i < kazu ;i++ ){
scrt = $(this).scrollTop();
hako_iti = youso.eq(i).position().top ;
if(hako_iti >= 0 && hako_iti < 40){
youso.removeClass("iti").removeClass("ni").removeClass("san").removeClass("yon").removeClass("go");
youso.eq(i).addClass("iti");
youso.eq(i+1).addClass("ni");
youso.eq(i+2).addClass("san");
youso.eq(i+3).addClass("yon");
youso.eq(i+4).addClass("go");
break
}
}
a = $(".iti").position().top + 370;
b = $(".iti .nitiji").attr("val").split(",")[0]
c = $(".iti .nitiji").attr("val").split(",")[1]
d = 605 - (( uk_arr[5] - c ) / yoko_kijyun) * 510
e = (( uk_arr[1] - b ) / tate_kijyun )*340
p = 10 +","+ a + " " + d + "," + e ;
$(".u_line").attr("points", p )
$(".u_point").css("top", (e - 10) +"px").css("left", (d - 10) + "px")
$(".u_point02").css("top", (e - 10) +"px").css("left", (d - 10) + "px")
$(".u_point03").css("top", (e - 10) +"px").css("left", (d - 10) + "px")
$(".u_point02").css("opacity","0").css("transform","scale(10)")
$(".u_point03").css("opacity","0").css("transform","scale(10)")
f = $(".iti .nitiji").attr("t")
if( f == undefined ){
$(".kokugai_iti").text("");
}else{
$(".kokugai_iti").text( f );
}
//オーバーラップマップ
d = $(".iti .nitiji").text()
n = $(".iti").parents(".nen").attr("class").slice(-2)
var overmap_day = d.slice(0,-6) ;
if (overmap_day.slice(-2,-1 ) == "/" ){
overmap_day = overmap_day.slice( 0,-1 ) + "0" + overmap_day.slice( -1 ) ;
};
if( overmap_day.length == 4 ){ overmap_day = "0" + overmap_day }
overmap_day = Number( n + overmap_day.replace("/","") ) ;
var taisyou_img = $(".map_hako img.o_img") ;
if( overmap_day == "220224" ){ taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220317_0224.png")
}else if( overmap_day == "220225"){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220317_0225.png")
}else if( overmap_day >= 220228 && overmap_day <= 220302){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220317_0228.png")
}else if( overmap_day >= 220303 && overmap_day <= 220309 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220317_0303.png")
}else if( overmap_day >= 220310 && overmap_day <= 220316 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220317_0310.png")
}
else if( overmap_day == 220317){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220318_0317.png")
}
else if( overmap_day >= 220318 && overmap_day <= 220320 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220320_0318.png")
}
else if( overmap_day >= 220321 && overmap_day <= 220323 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220322_0321.png")
}
else if( overmap_day >= 220324 && overmap_day <= 220325 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220325_0324.png")
}
else if( overmap_day >= 220326 && overmap_day <= 220329 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220327_0326.png")
}
else if( overmap_day >= 220330 && overmap_day <= 220401 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220401_0330.png")
}
else if( overmap_day >= 220402 && overmap_day <= 220403 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220408_0402.png")
}
else if( overmap_day == 220404 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220408_0404.png")
}
else if( overmap_day >= 220405 && overmap_day <= 220406 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220408_0405.png")
}
else if( overmap_day >= 220407 && overmap_day <= 220409 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220408_0407.png")
}
else if( overmap_day >= 220410 && overmap_day <= 220416 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220411_0410.png")
}
else if( overmap_day >= 220417 && overmap_day <= 220425){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220418_0417.png")
}
else if( overmap_day >= 220426 && overmap_day <= 220520 ){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220427_0426.png")
}
else if( overmap_day >= 220521 && overmap_day <= 220612){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/202205222_0521.png")
}
else if( overmap_day >= 220613 && overmap_day <= 220703){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220614_0613.png")
}
else if( overmap_day >= 220704 && overmap_day <= 220814){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220704_0718.png")
}
else if( overmap_day >= 220815 && overmap_day <= 220831){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220815_0816.png")
}
else if( overmap_day >= 220901 && overmap_day <= 220909){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220901_1005.png")
}
else if( overmap_day >= 220910 && overmap_day <= 220911){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220910_1005.png")
}
else if( overmap_day >= 220912 && overmap_day <= 221002){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220912_1005.png")
}
else if( overmap_day >= 221003 && overmap_day <= 221110){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20220912_1005.png")
}
else if( overmap_day >= 221111 && overmap_day <= 221212){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20221111_1213.png")
}
else if( overmap_day >= 221213 && overmap_day <= 230101){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2022/20221213_1213.png")
}
else if( overmap_day >= 230102 && overmap_day <= 230123){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2023/20230126_0102.png")
}
else if( overmap_day >= 230124 && overmap_day <= 230131){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2023/20230126_0124.png")
}
else if( overmap_day >= 230201 && overmap_day <= 230416){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2023/20230201_0224.png")
}
else if( overmap_day >= 230417 && overmap_day <= 230508){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2023/20230417_0418.png")
}
else if( overmap_day >= 230509){
taisyou_img.attr("src","https://www.sankei.com/module/edit/images/2023/20230509_0511.png")
}
else( taisyou_img.attr("src","") )
})
//ボタンの処理
$(".tugi").on("click",function(){
$(".hako_w").animate({scrollTop:scrt+80},300);
})
$(".tugidai").on("click",function(){
$(".hako_w").animate({scrollTop:scrt+800},500);
})
$(".modoru").on("click",function(){
$(".hako_w").animate({scrollTop:scrt-80},300);
})
$(".modorudai").on("click",function(){
$(".hako_w").animate({scrollTop:scrt-800},500);
})
$(".saisyo").on("click",function(){
$(".hako_w").animate({scrollTop:0},500);
})
$(".saigo").on("click",function(){
$(".hako_w").animate({scrollTop:80*(kazu-3)},500);
})
jQuery.prototype.mousedragscrollable = function () {
let target;
$(this).each(function (i, e) {
$(e).mousedown(function (event) {
event.preventDefault();
target = $(e);
$(e).data({
down: true,
move: false,
x: event.clientX,
y: event.clientY,
scrollleft: $(e).scrollLeft(),
scrolltop: $(e).scrollTop(),
});
return false;
});
$(e).click(function (event) {
if ($(e).data("move")) {
return false;
}
});
});
$(document)
.mousemove(function (event) {
if ($(target).data("down")) {
event.preventDefault();
let move_x = $(target).data("x") - event.clientX;
let move_y = $(target).data("y") - event.clientY;
if (move_x !== 0 || move_y !== 0) {
$(target).data("move", true);
} else {
return;
}
$(target).scrollLeft($(target).data("scrollleft") + move_x);
$(target).scrollTop($(target).data("scrolltop") + move_y);
return false;
}
})
.mouseup(function (event) {
$(target).data("down", false);
return false;
});
};
$(".scroll_wrap").mousedragscrollable();
setTimeout(function(){$(".hako_w").scrollTop(1);$(".hako_w").scrollTop(0);},100)
//ウクライナ現地時間表示機能
var ukr_time = function(){
var now = new Date();
localTime = now.getTime();
localOffset = now.getTimezoneOffset() * 60 * 1000;
utcTime = localTime + localOffset,
utc = new Date(utcTime);
var tz = 3;
ukr = new Date(utcTime + tz * 60 * 60 * 1000);
var uk_genti = ukr.getMonth()+1 +"/"+ ("0"+ukr.getDate()).slice(-2) + " " + ("0"+ukr.getHours()).slice(-2) +":"+ ("0" + ukr.getMinutes()).slice(-2) ;
$(".uk_genti").text( uk_genti )
}
ukr_time()
setInterval( ukr_time ,5000)
$(".syashin_hako img").on("error",function(){
$(this).attr("src", "https://www.sankei.com/module/edit/images/2022/20221007_noimage.jpg")
})
//読み込み後実行の最後
})
})(jQuery);