From fc4a2b9599ab76de5478481c601653385635bb1f Mon Sep 17 00:00:00 2001 From: Erdei Levente Date: Wed, 14 Dec 2022 11:16:40 +0100 Subject: [PATCH] initial commit --- .DS_Store | Bin 0 -> 6148 bytes index.html | 25 ++++++++++++++++++++++++ script.js | 26 +++++++++++++++++++++++++ style.css | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 107 insertions(+) create mode 100644 .DS_Store create mode 100644 index.html create mode 100644 script.js create mode 100644 style.css diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..4c889e0f4edc24810a0688025fbbaaa03afe6536 GIT binary patch literal 6148 zcmeH~y{ZC1422WjLa^D=avIwUzQG{+1ipZ%AcA0__VehT{2;jAT0~AD`6ihO%bsFq zBOyQ5diE^cEj3d39wiJtjQKc1*XvoMyvW5 zVs&o^OP;IA7L0b$96mIktTx5KG}=WA5|~y80~MeG0|myB_jdoU;s4G5gBGS#fC~JW z0@|%Mt0i74@7A~1v-&oxwr+6Hk0ZSN1R$}icm{XFez65ulP!n}j6VV{0|OQKr~(gE CJ`!~R literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 0000000..cf18d9c --- /dev/null +++ b/index.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + Színházjegyek + + +
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..1138017 --- /dev/null +++ b/script.js @@ -0,0 +1,26 @@ +hely = new Array() + for(i = 1; i <= 15; i++) + { + if(i == 1) document.write("7500.- Ft") + if(i == 6) document.write("5900.- Ft") + if(i == 11) document.write("4500.- Ft") + + hely[i] = new Array() + document.write("" + i + ".") + for(j = 1; j <= 24; j++) + { + hely[i][j] = Math.floor((1 - Math.random() * Math.random()) * 2) + if(hely[i][j] == 1) + { + document.write("" + j + "") + } + else + { + document.write("" + j + "") + } + } + document.write("
") + if(i % 5 == 0) document.write("
") + } + + \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..f03ee6d --- /dev/null +++ b/style.css @@ -0,0 +1,56 @@ +div#szinhazterem + { + max-width : 620px ; + margin : 0 auto ; + } + + span.helyar + { + display : inline-block ; + float : right ; + margin : 40px -24px 0 0 ; + width : 128px ; + height : 60px ; + line-height : 60px ; + background-color : #AAF ; + text-align : center ; + font-size : 16px ; + font-weight : bold ; + transform : rotate(-90deg) ; + } + + span.sorszam + { + display : inline-block ; + width : 24px ; + height : 14px ; + margin-right : 8px ; + text-align : right ; + } + + span.szek + { + display : inline-block ; + margin : 6px 2px ; + width : 14px ; + height : 14px ; + border-radius : 2px ; + text-align : center ; + line-height : 14px ; + font-size : 9px ; + color : #333 ; + } + + span.foglalt + { + border : solid 1px #844 ; + background-color : #FAA ; + color : #600 ; + } + + span.szabad + { + border : solid 1px #484 ; + background-color : #8D8 ; + color : #040 ; + } \ No newline at end of file