-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconcepts.java.bak
90 lines (53 loc) · 3.26 KB
/
concepts.java.bak
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
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no,maximum-scale=1, user-scalable=0">
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js"></script>
$(document).ready(function(){
var navbar_height=$('nav').outerHeight();
$(".nav-link").click(function(e){
var linkHref=$(this).attr('href');
console.log(navbar_height);
$('html,body').animate({scrollTop:$(linkHref).offset().top -navbar_height},1500);
e.preventDefault();
});
session.setAttribute("question_counter","1");//question counter counts the number upto 15
session.setAttribute("count_easy","0"); //Easy table counter
session.setAttribute("count_medium","0");//Medium Table counter
session.setAttribute("count_hard","0");//Hard table counter
session.setAttribute("correct_count_easy","0");//Easy questions correct
session.setAttribute("correct_count_medium","0");//Medium questions correct
session.setAttribute("correct_count_hard","0");//Hard questions correct
session.setAttribute("difficulty","1");//Difficulty of subject
session.setAttribute("question_count","0");//
session.setAttribute("mark","0");//Marks
session.setAttribute("correct_question","0");//correct_questions
<nav class="navbar navbar-expand-md navbar-dark fixed-top" style="opacity:20%;background-color:#17181F;border-radius: 2px; ">
<button class="navbar-toggler" data-toggle="collapse" data-target="#collapse_target"><!--Button is activated when browser's page is resized to small. All the items
are binded into this navbar-toggler-->
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapse_target">
</div>
<span class="navbar-brand "><i class="fab fa-asymmetrik"></i></span>
<span class="navbar-text" style=" white-space: nowrap;font-size: 1em;font-family: Dosis;color: white;">Adaptive
<ul class="navbar-nav" style="margin-left: 13vw;display_block">
<li class="nav-item" >
<a class="nav-link" id="nav_link_text" style=" white-space: nowrap;font-size:0.9em;font-family: Dosis;color: white;" href="">Home</a>
<li class="nav-item">
<a class="nav-link" id="login" style=" white-space: nowrap;font-size:0.9em;font-family: Dosis;color: white;" data-toggle="modal" data-target="#myModal" data-backdrop="static" data-keyboard="false" href="#"> Sign in </a>
<!-- <a class="nav-link" id="login" data-toggle="modal" >Login/Register</a>-->
</li>
<div class="modal fade" id="myModal" style="">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header" style="background-color:#bababa;text-align: center">
<h4 class="modal-title" style="text-align: center;">Login</h4>
<a href="#" data-dismiss="modal"><i class="fa fa-close"></i></a>
</div>
<div class="modal-body" style="">
<!-------------------------------------LOGIN------------------------------------>
</div>
<div class="modal-footer" style="background-color:#bababa">
</div>
</div>
</div>
</div>