Commit b7b1b11a by o.kimura

TAKUMI

parent 6c1b4afc
......@@ -443,6 +443,8 @@ $(function () {
document.getElementById("no_btn").classList.add("vanish");
$("#result_plate").addClass("vanish");
$("#button_next_result").addClass("vanish");
$("#yes_btn").attr("src", "");
$("#no_btn").attr("src", "");
});
$("#result_select_button").on("click", function () {
$("#result_plate").removeClass();
......@@ -452,6 +454,8 @@ $(function () {
document.getElementById("no_btn").classList.add("vanish");
$("#result_plate").addClass("vanish");
$("#button_next_result").addClass("vanish");
$("#yes_btn").attr("src", "");
$("#no_btn").attr("src", "");
});
});
......@@ -471,14 +475,14 @@ function judgePat(myObj, resultPlate) {
document.getElementById("yes_btn").classList.add("yes_btn" + rand);
document.getElementById("no_btn").classList.add("no_btn" + rand);
if (rand == 1) {
$("#yes_btn").attr("src", "images/result/yesbtn1.png?v=2023");
$("#no_btn").attr("src", "images/result/nobtn1.png?v=2023");
$("#yes_btn").attr("src", "images/result/yesbtn1.png");
$("#no_btn").attr("src", "images/result/nobtn1.png");
} else if (rand == 2) {
$("#yes_btn").attr("src", "images/result/yesbtn2.png?v=2023");
$("#no_btn").attr("src", "images/result/nobtn2.png?v=2023");
$("#yes_btn").attr("src", "images/result/yesbtn2.png");
$("#no_btn").attr("src", "images/result/nobtn2.png");
} else if (rand == 3) {
$("#yes_btn").attr("src", "images/result/yesbtn3.png?v=2023");
$("#no_btn").attr("src", "images/result/nobtn3.png?v=2023");
$("#yes_btn").attr("src", "images/result/yesbtn3.png");
$("#no_btn").attr("src", "images/result/nobtn3.png");
}
anime({
targets: "#result_plate",
......
{
"name": "巧水検定 ver1.7",
"short_name": "巧水検定",
"short_name": "巧水検定2024",
"display": "fullscreen",
"background_color": "#ffffff",
"start_url": "index.html",
......@@ -10,7 +10,7 @@
"src": "takumi.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable" // マスク可能なアイコン(透過部分が白背景にならず、アイコンですべて埋まるようにトリミングされる)
"purpose": "any maskable"
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment