Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김한준
/
OSS-Term-Project
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김한준
2019-06-02 03:10:04 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82b3a9743021ffa5e32cfd6414e3947984e5bc07
82b3a974
1 parent
0c9d4d2a
각 회차별 당첨번호 기능 추가
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
29 deletions
public/index.html
public/index.html
View file @
82b3a97
...
...
@@ -4,54 +4,41 @@
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<meta
name=
"theme-color"
content=
"#212121"
/>
<title>
로또 번호 생성기
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/style.css"
>
<script
src=
"/jquery.js"
type=
"text/javascript"
></script>
<script
src=
"/coloring.js"
type=
"text/javascript"
></script>
<script
src=
"/main.js"
type=
"text/javascript"
></script>
<script
src=
"/sub__scroll.js"
type=
"text/javascript"
></script>
<script
defer=
""
type=
"text/javascript"
src=
"http://lotto.kaisyu.com/api?method=get&callback=loadlot"
></script>
<script
language=
"javascript"
>
<!--
function
getSelectValue
(
frm
)
{
frm
.
textValue
.
value
=
frm
.
selectBox
.
options
[
frm
.
selectBox
.
selectedIndex
].
text
;
}
//-->
</script>
<script
id=
"a1"
defer=
""
type=
"text/javascript"
document
.
write
('
src=
""
')
></script>
</head>
<body>
<H2>
로또 번호 생성
&
당첨 확인
</H2>
<p>
로또 번호를 생성하고 각 회차의 당첨번호와 비교합니다
</p>
<p>
회차 선택시 1등 당첨번호가 바뀌며 선택한 회차의 당첨번호와
</p>
<p>
생성한 당첨번호를 비교하여 각 등수의 당첨확률을 보여줍니다
</p>
<p>
회차선택시 번호 변경은 현재 수정하고 있습니다
</p>
<form
name=
"form"
>
<select
name=
"selectBox"
onchange=
"getSelectValue(this.form);"
>
<option>
로또회차선택
</option>
<script>
for
(
i
=
1
;
i
<
861
;
i
++
){
document
.
write
(
"<option>"
+
i
+
"</option>"
);
}
</script>
<div
class=
"container"
>
<div
class=
"row p-4"
>
<div
class=
"col-xs-12"
>
<form
name=
"form"
id=
"form"
>
<div
class=
"form-group"
>
<label
for=
"selectBox"
>
몇 회차 로또 결과를 볼까요?
</label>
<select
id=
"selectBox"
name=
"selectBox"
class=
"form-control"
>
<option
value=
""
selected
disabled
>
선택하세요...
</option>
</select>
</div>
<button
class=
"btn btn-primary"
type=
"submit"
>
결과 보기
</button>
</form>
<p
style=
"position:absolute;top:calc(50% + 100px);width:100%;"
>
<input
type=
"text"
id=
"inputnum"
value=
"5"
size=
"2"
>
번
<span
class=
"key"
onclick=
"count()"
>
시작
</span>
</p>
<pre
id=
"result"
></pre>
<section
id=
"winner"
class=
"shadow"
>
<h2
id=
"lottok"
>
loading...
</h2>
<div
class=
"output"
id=
"output0"
></div>
...
...
@@ -63,13 +50,23 @@ function getSelectValue(frm)
<div
class=
"output"
style=
"box-shadow:none; color:#000;"
>
+
</div>
<div
class=
"output"
id=
"output6"
></div>
</section>
</div>
</div>
</div>
<p
style=
"position:absolute;top:calc(50% + 100px);width:100%;"
>
<input
type=
"text"
id=
"inputnum"
value=
"5"
size=
"2"
>
번
<span
class=
"key"
onclick=
"count()"
>
시작
</span>
</p>
<div
id=
"stats"
></div>
<ol
id=
"lottotable"
></ol>
<!-- <footer>ⓒ 2011-2019 JinH</footer> -->
</body>
...
...
Please
register
or
login
to post a comment