-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
674 lines (517 loc) · 19.4 KB
/
index.html
File metadata and controls
674 lines (517 loc) · 19.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="https://images.cricket.com/icons/mainlogoico.ico">
<title>Live Cricket Score, Match Schedule & Predictions, Latest News | Cricket.com</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link rel="preload" href="style/style.css" as="style">
<link rel="stylesheet" href="style/style.css" >
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap"
rel="stylesheet"
/>
<style>
* {
margin: 0px;
padding: 0px;
font-family: "Montserrat", sans-serif;
}
#nav {
display: flex;
align-items: center;
background-color: rgba(23, 33, 50, 255);
height: 80px;
position:fixed;
top: 0;
width: 100%;
z-index:1;
}
#cont {
display: flex;
width: 650px;
margin-left: 80px;
height: 100%;
}
#cont {
text-align: center;
width: 90%;
margin-left: 8.5rem;
}
#cont > div:nth-child(1) {
width: 120px;
}
#logo {
margin-left: 17rem;
}
.navdiv {
padding: 20px 16px;
}
.navdiv p {
font-size: 15px;
color: white;
font-size: 10px;
}
.navdiv img {
width:1.3rem;
}
.navdiv:hover{
background-color:rgb(105, 117, 143);
}
#slideshow {
background-color: rgba(168, 43, 46, 255);
height: 260px;
display:flex;
}
#maroon{
width: 101%;
background-color:rgba(172,44,47,255);
display:flex;
justify-content: center;
height:250px;
position: relative;
z-index:0;
margin-top:80px;
}
#matches{
width:420px;
margin:15px 5px 30px 5px;
border-radius: 5px;
position: relative;
z-index:1;
}
#btn_prev,#btn_next{
width: 20px;
height: 20px;
margin: 110px -80px;
}
#table{
display:flex;
justify-content:center;
position: relative;
z-index:0;
}
#table_image{
width:75%;
margin-top: 1px;
}
#left{
width: 320px;
margin:52px 5px 25px 5px;
border-radius: 5px;
height:140px;
position: relative;
right: -100px;
}
#right{
width: 320px;
margin:52px 5px 25px 5px;
border-radius: 5px;
height:140px;
position: relative;
left: -100px;
}
</style>
</head>
<body onload="changePercentages()" >
<!-- Header Part -->
<nav id="nav">
<a href='index.html'>
<div id="logo">
<img src="https://www.cricket.com/static/cricket.com.svg" />
</div></a>
<div id="cont">
<div class="link">
<a href='underConstruction/underConstruction.html'>
<div class="navdiv">
<img src="https://www.cricket.com/static/svgs/icons/frc.svg" />
<p>Fantasy Research</p>
</div>
</a>
</div>
<div class="link">
<a href='criclytics/criclytics.html'>
<div class="navdiv">
<img
src="https://www.cricket.com/static/svgs/icons/criclytics-icon.svg"
/>
<p>Criclytics</p>
</div>
</a>
</div>
<div class="link">
<a href='underConstruction/underConstruction.html'>
<div class="navdiv">
<img
src="https://www.cricket.com/static/svgs/icons/schedule-icon.svg"
/>
<p>Schedule</p>
</div>
</a>
</div>
<div class="link">
<a href='underConstruction/underConstruction.html'>
<div class="navdiv">
<img
src="https://www.cricket.com/static/svgs/icons/series-icon.svg"
/>
<p>Series</p>
</div>
</a>
</div>
<div class="link">
<a href='news/latest.html'>
<div class="navdiv">
<img src="https://www.cricket.com/static/svgs/icons/news-and-articles-icon.svg">
<p>News</p>
</div>
</a>
</div>
<div class="link">
<a href='underConstruction/underConstruction.html'>
<div class="navdiv">
<img src="https://www.cricket.com/static/svgs/icons/video-icon.svg" />
<p>Videos</p>
</div>
</a>
</div>
<div class="link">
<a href='underConstruction/underConstruction.html'>
<div class="navdiv">
<img
src="https://www.cricket.com/static/svgs/icons/players-icon.svg"
/>
<p>Players</p>
</div>
</a>
</div>
<div class="link">
<a href='underConstruction/underConstruction.html'>
<div class="navdiv">
<img src="https://www.cricket.com/static/svgs/icons/teams-icon.svg" />
<p>Teams</p>
</div>
</a>
</div>
<a href="login/login.html">
<div class="navdiv" onclick="login()">
<img src="https://www.cricket.com/static/svgs/icons/profile.svg" />
<p>Profile</p>
</div>
</a>
</div>
</div>
</nav>
<!-- End Header part -->
<!-- Sliding Score cards part -->
<div id="maroon">
<!-- <div id="innerMaroon"> -->
<img id="btn_prev" src='images/left-arrow.png' onclick="previous();previousrgt(); previouslft()">
<img id="left" src='images/image3.PNG'>
<img id="matches" src='images/image2.png'>
<img id='right' src="images/image1.PNG">
<img id="btn_next" src='images/right-arrow.png' onclick="next(); changergt(); changelft()">
</div>
<div id="table">
<img id="table_image" src="images/big1.PNG">
<!-- </div> -->
</div>
<!-- End Sliding Score cards part -->
<!----Featured Video Part Starts ---->
<div class="mainDiv">
<div class="midBodyMainDiv">
<div class="midBodyHeaderDiv">
<div class="headLineDiv">
<h2>FEATURED VIDEOS</h2>
<a href='underConstruction/underConstruction.html'>
<img alt="images/svgs/RightSchevronBlack.svg" src="images/svgs/RightSchevronBlack.svg">
</a>
</div>
<!-- <div class="dividingLine"></div> -->
<hr />
<!-- Started from Here -->
<div class="outerContainer">
<div class="fVideosContainer">
<a class="fVideosScreenLink"
href="videos/rohit-sharma-i-wtc-diaries-i-episode-1-i-cricketcom.html">
<div
class="fVideosScreenImageDiv">
<span class="fVideosScreenImageSpan">
<img src="https://img.youtube.com/vi/r-95j4ErH_Q/mqdefault.jpg"/>
</span>
</div>
<span class="fvideosScreenHeading">Rohit Sharma I WTC Diaries I Episode 1 I Cricket.com
</span>
</a>
<a class="fVideosScreenLink"
href="videos/indias-road-to-the-world-test-championship-wtc-final-i-cricketcom.html">
<div
class="fVideosScreenImageDiv">
<span class="fVideosScreenImageSpan">
<img src="https://img.youtube.com/vi/u-qGGFFivK4/mqdefault.jpg"/>
</span>
</div>
<span class="fvideosScreenHeading">India’s road to the World Test Championship (WTC) final I
Cricket.com
</span>
</a>
<a class="fVideosScreenLink"
href="videos/new-zealands-road-to-the-world-test-championship-wtc-final-i-cricketcom.html">
<div
class="fVideosScreenImageDiv">
<span class="fVideosScreenImageSpan">
<img src="https://img.youtube.com/vi/ASBThmYL_ck/mqdefault.jpg"/>
</span>
</div>
<span class="fvideosScreenHeading">New Zealand’s road to the World Test Championship (WTC) final I
Cricket.com
</span>
</a>
<a class="fVideosScreenLink"
href="videos/india-should-play-ashwin-and-jadeja-in-wtc-final-i-msk-prasad-interview-i-cricketco.html">
<div
class="fVideosScreenImageDiv">
<span class="fVideosScreenImageSpan">
<img src="https://img.youtube.com/vi/1H0gkkFn7jg/mqdefault.jpg"/>
</span>
</div>
<span class="fvideosScreenHeading">'India should play Ashwin & Jadeja in WTC Final' I MSK Prasad
Interview I Cricket.com
</span>
</a>
</div>
</div>
</div>
</div>
</div>
<!----END Featured Video Part ----->
<!-- News And Articles -->
<div class="mainDiv">
<div class="midBodyMainDiv">
<div class="midBodyHeaderDiv">
<div class="headLineDiv">
<h2>NEWS AND ARTICLES</h2>
<a href="news/latest.html">
<img alt="images/svgs/RightSchevronBlack.svg" src="images/svgs/RightSchevronBlack.svg">
</a>
</div>
<!-- <div class="dividingLine"></div> -->
<hr />
<!-- Started from Here -->
<!-- Starting new div to display Article image and texts -->
<div class="articalContainer">
<div> <a
href="news/tom-latham-to-lead-new-zealand-as-williamson-ruled-out-of-2nd-test-1623240805580.html">
<div class="articalImageDiv">
<img src="images/png/1.png"/>
</div>
<div >
<h2 class="articalHeaderDiv" >
Dhawan to lead India in Sri Lanka, Bhuvneshwar Kumar to be his deputy </h2>
<div class="subHeadlineDiv">Sakariya earns a maiden call-up while Iyer, Natarajan continue
to be rested</div>
</div>
<div class="articalFotterDiv">
<div class="authorDiv">cricket.com staff</div>
<div class="publishingDateDiv">10 Jun 2021</div>
</div>
</div>
</a>
</div>
<hr/>
<div class="articalContainer">
<div> <a
href="news/tom-latham-to-lead-new-zealand-as-williamson-ruled-out-of-2nd-test-1623240805580.html">
<div class="articalImageDiv">
<img src="images/jpg/DhawanLatest.jfif"/>
</div>
<div >
<h2 class="articalHeaderDiv" >
India have all bases covered going into WTC final, reckons Prasad </h2>
<div class="subHeadlineDiv">The former fast bowler picks Ishant, Shami and Bumrah as the three pacers India should go with in the summit clash</div>
</div>
<div class="articalFotterDiv">
<div class="authorDiv">PTI </div>
<div class="publishingDateDiv">10 Jun 2021</div>
</div>
</div>
</a>
</div>
<hr/>
<div class="articalContainer">
<div> <a
href="news/tom-latham-to-lead-new-zealand-as-williamson-ruled-out-of-2nd-test-1623240805580.html">
<div class="articalImageDiv">
<img src="images/jpg/RahaneNews.jfif"/>
</div>
<div >
<h2 class="articalHeaderDiv" >
Rahane offers batting tips to India Women ahead of one-off Test against England Women </h2>
<div class="subHeadlineDiv">The India batsman was requested by women's team head coach Ramesh Powar for a session
to be rested</div>
</div>
<div class="articalFotterDiv">
<div class="authorDiv">cricket.com staff</div>
<div class="publishingDateDiv">14 Jun 2021</div>
</div>
</div>
</a>
</div>
<hr/>
<div class="articalContainer">
<div> <a
href="news/tom-latham-to-lead-new-zealand-as-williamson-ruled-out-of-2nd-test-1623240805580.html">
<div class="articalImageDiv">
<img src="images/jpg/ashwinNews.jfif"/>
</div>
<div >
<h2 class="articalHeaderDiv" >
Ashwin kept away from cricket for 6 months to avoid ban: Ajmal </h2>
<div class="subHeadlineDiv">The former Pakistan spinner alleges ICC of favouritism, tilting towards India</div>
</div>
<div class="articalFotterDiv">
<div class="authorDiv">cricket.com staff</div>
<div class="publishingDateDiv">13 Jun 2021</div>
</div>
</div>
</a>
</div>
<hr/>
<div class="articalContainer">
<div> <a
href="news/tom-latham-to-lead-new-zealand-as-williamson-ruled-out-of-2nd-test-1623240805580.html">
<div class="articalImageDiv">
<img src="images/jpg/chennaiOnthisDay.jpeg"/>
</div>
<div >
<h2 class="articalHeaderDiv" >
Chennai, 1998 – When Sachin Tendulkar was at his best </h2>
<div class="subHeadlineDiv">On this day (March 9) in 1998, Sachin Tendulkar unleashed one of the most breathtaking displays of attacking batting in Test cricket</div>
</div>
<div class="articalFotterDiv">
<div class="authorDiv">cricket.com staff</div>
<div class="publishingDateDiv">09 Mar 2021</div>
</div>
</div>
</a>
</div>
<!-- <hr/> -->
<!-- </div> -->
</div>
</div>
<!-- End News And Articles -->
<!-- Poll Part -->
<div class="midBodyMainDiv">
<div class="pollContainerDiv">
<div class="pollHeadingPart">
<h2>FAN POLL</h2>
<div class="pollVote" id="pollCount"></div>
</div>
<hr/>
<div class="pollBottomPart" >
<div class="pollBottonTextPart" style="width: 100%;"> Of the following Kiwi pacers, who will pose the biggest
threat to India in the WTC final?
</div>
<div style="width: 50%;"><!-- outer div for two polls -->
<div class="pollPart"><!-- Single poll main outer div -->
<div class="pollPartContainer"> <!-- Container div for single poll part -->
<div class="pollDiv" onclick="changePoll1()"> <!-- final poll div -->
<div class="pollName"> Trent Boult
</div>
<div class="pollPercentage"><span id="poll1Per"> </span>
</div>
<div class="pollColor1" id="pollColor1"><!-- Poll color %age -->
</div>
</div>
</div>
</div>
<div>
<div>
<div class="pollDiv" onclick="changePoll2()" >
<div class="pollName"> Tim Southee</div>
<div class="pollPercentage"><span id="poll2Per"> </span>
</div>
<div class="pollColor2" id="pollColor2"></div>
</div>
</div>
</div>
</div>
<div style="width: 50%;">
<div class="pollPart ">
<div class="pollPartContainer">
<div class="pollDiv" onclick="changePoll3()">
<div class="pollName"> Neil Wagner</div>
<div class="pollPercentage"><span id="poll3Per"> </span>
</div>
<div class="pollColor3" id="pollColor3"></div>
</div>
</div>
</div>
<div class="pollPart ">
<div class="pollPartContainer">
<div class="pollDiv" onclick="changePoll4()">
<div class="pollName"> Kyle Jamieson</div>
<div class="pollPercentage"><span id="poll4Per"> </span>
</div>
<div class="pollColor4" id="pollColor4"></div>
</div>
</div>
</div> </div>
</div>
</div>
</div>
<!-- End Poll Part -->
</div>
<!-- Data Digest Part -->
<div class="mainDiv">
<div class="midBodyMainDiv">
<div class="midBodyHeaderDiv">
<div class="headLineDiv">
<h2>DATA DIGEST</h2>
</div>
<hr/>
<div class="dataDigestImageContainer">
<div class="singleImageContainer">
<div class="singleImageDiv">
<img src="images/jpg/dataDigest1.jpg"/>
</div>
<div class="singleImageDiv">
<img src="images/jpg/dataDigest2.jpg"/>
</div>
<div class="singleImageDiv">
<img src="images/jpg/dataDigest3.jpg"/>
</div>
<div class="singleImageDiv">
<img src="images/jpg/dataDigest4.jpg"/>
</div>
<div class="singleImageDiv">
<img src="images/jpg/dataDigest5.jpg"/>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Data Digest Part -->
<!-- Footer Part -->
<footer id="footer">
<div id="div_1">
<img src="https://www.cricket.com/static/svgs/cricket-logo.svg">
<p>Cricket like never before</p>
</div>
<div id="div_2">
<a href="https:"#">Term of use</a>
<a href="https:"#">Privacy Policy</a>
<a href="https:"#">Cookies Policy</a>
</div>
<div id="div_3">
<h5>follow us on</h5>
<p>@2020 Cricket.com | All right reserved</p>
</div>
</footer>
<!-- End Footer Part -->
</body>
</html>
<script src="script/script.js"></script>