Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
sora
/
sanitary-net
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b7b1b11a
authored
Apr 12, 2024
by
o.kimura
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
TAKUMI
parent
6c1b4afc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
takumi-style/app/js/quizMaster.js
takumi-style/app/manifest.json
takumi-style/app/js/quizMaster.js
View file @
b7b1b11a
...
...
@@ -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"
,
...
...
takumi-style/app/manifest.json
View file @
b7b1b11a
{
"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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment