-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamPage.html
667 lines (595 loc) · 34.8 KB
/
examPage.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap 3, from LayoutIt!</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!--link rel="stylesheet/less" href="less/bootstrap.less" type="text/css" /-->
<!--link rel="stylesheet/less" href="less/responsive.less" type="text/css" /-->
<!--script src="js/less-1.3.3.min.js"></script-->
<!--append ‘#!watch’ to the browser URL, then refresh the page. -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="img/favicon.png">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script type="text/javascript" src="js/screenfull.js"></script>
<script type="text/javascript" src="js/csvParse.js"></script>
<style>
.ft14{font: 9px 'Times New Roman';line-height: 12px;position: relative; bottom: 5px;}
.ft15{font: 11px 'Symbol';line-height: 16px;}
.p4{text-align: left;margin-top: 0px;margin-bottom: 0px;white-space: nowrap;}
.ft7{font: 13px 'Times New Roman';line-height: 15px;}
</style>
<script>
function launchFullscreen(element) {
if (element.requestFullscreen) {
element.requestFullscreen();
} else if (element.mozRequestFullScreen) {
element.mozRequestFullScreen();
} else if (element.webkitRequestFullscreen) {
element.webkitRequestFullscreen();
} else if (element.msRequestFullscreen) {
element.msRequestFullscreen();
}
}
function exitFullscreen() {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.webkitExitFullscreen) {
document.webkitExitFullscreen();
}
}
function dumpFullscreen() {
console.log("document.fullscreenElement is: ", document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement);
console.log("document.fullscreenEnabled is: ", document.fullscreenEnabled || document.mozFullScreenEnabled || document.webkitFullscreenEnabled || document.msFullscreenEnabled);
}
</script>
<script>
var windowL = 1;
var windowR = 20;
var resultData;
var numAnsweredQuestions = 0;
var answeredQuestions = [];
var answers = [];
var numCorrectAnswers = 0;
var numInCorrectAnswers = 0;
var score = 0;
var correctArray = [];
var incorrectArray = [];
function openScorePage() {
window.location = "scorePage.html?correct=" + numCorrectAnswers + "&incorrect=" + numInCorrectAnswers + "";
}
function displayPreviousSelection() {
for (var i = windowL; i <= windowR; i++) {
if (correctArray.indexOf(i - 1) >= 0) {
document.getElementById(i + answers[i - 1]).checked = true;
} else if (incorrectArray.indexOf(i - 1) >= 0) {
document.getElementById(i + answers[i - 1]).checked = true;
}
}
}
function incrementPage() {
windowL += 20;
windowR += 20;
document.getElementById("questionArea").innerHTML = "";
processData();
displayPreviousSelection();
}
function decrementPage() {
windowL -= 20;
windowR -= 20;
document.getElementById("questionArea").innerHTML = "";
processData();
displayPreviousSelection();
}
function displayUnanswered() {
var unansweredField = document.getElementById("unanswerdQuestions");
unansweredField.innerHTML = "";
var totalQ = 65;
for (var i = 0; i < totalQ; i++) {
if (answeredQuestions.indexOf(i) < 0) {
unansweredField.innerHTML += "<span>" + (i+1) + "</span>, ";
}
}
}
function displayWarningMessage() {
document.getElementById("submissionWarning").innerHTML = "You have answered '" + numAnsweredQuestions + "' out of '65' questions. You will not be able to change it. Do you want to submit it anyway?";
}
function processCSV(csvString) {
var results = $.parse(csvString);
resultData = results;
processData();
}
function recordAnswer(questionNum, recordedAnswer) {
if (answers[questionNum - 1] == recordedAnswer) {
return;
}
answers[questionNum - 1] = recordedAnswer;
// alert(resultData.results.rows[questionNum - 1].Answer);
if (answeredQuestions.indexOf(questionNum - 1) < 0) {
answeredQuestions.push(questionNum - 1);
numAnsweredQuestions += 1;
document.getElementById("answeredNumField").innerHTML = "You have answered " + "'" + numAnsweredQuestions + "'" + " out of '65.";
if (numAnsweredQuestions >= 1) {
// document.getElementById("viewAnswered").style.visibility = 'visible';
document.getElementById("modal-94604").style.visibility = 'visible';
}
if (resultData.results.rows[questionNum - 1].Answer == recordedAnswer) {
numCorrectAnswers += 1;
correctArray.push(questionNum - 1);
} else {
numInCorrectAnswers += 1;
incorrectArray.push(questionNum - 1);
}
} else {
if (resultData.results.rows[questionNum - 1].Answer == recordedAnswer) {
if (correctArray.indexOf(questionNum - 1) < 0) {
numCorrectAnswers += 1;
numInCorrectAnswers -= 1;
incorrectArray.pop(questionNum - 1);
correctArray.push(questionNum - 1);
}
} else {
if (incorrectArray.indexOf(questionNum - 1) < 0) {
numInCorrectAnswers += 1;
numCorrectAnswers -= 1;
incorrectArray.push(questionNum - 1);
correctArray.pop(questionNum - 1);
}
}
}
// alert(numCorrectAnswers);
// alert(numInCorrectAnswers);
score = numCorrectAnswers - (numInCorrectAnswers * 0.25);
displayUnanswered();
displayWarningMessage();
// alert("Score" + score);
}
function processData() {
var element = document.getElementById("questionArea");
var numQuestions = resultData.results.rows.length;
var superscripts = "/[\u2070-\u209F\u00B2\u00B3\u00B9]/";
var subscripts = "/[\u2080-\u209C]/";
if (windowR > numQuestions) {
windowR = numQuestions;
}
else {
windowR = windowL + 19;
}
// div.innerHTML = results.results.rows[0].Question;
for (var i = windowL; i <= windowR; i++) {
// div.innerHTML = i+". "+"dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd";
// var numberDiv = document.createElement("span");
//// numberDiv.style.width = "10px";
//// numberDiv.style.height = "10px";
// numberDiv.style.background = "black";
// numberDiv.style.color = "black";
// numberDiv.style.marginLeft = "8%";
// numberDiv.innerHTML = i;
// $("#questionArea").append(numberDiv);
//// $("").last().after("<span>C</span>");
var questionDiv = document.createElement("div");
questionDiv.style.width = "80%";
questionDiv.style.background = "white";
questionDiv.style.color = "black";
questionDiv.style.wordWrap = "break-word";
questionDiv.style.marginLeft = "8%";
questionDiv.style.marginBottom = "10px";
questionDiv.style.fontSize = "11px";
var marksDiv = document.createElement("div");
marksDiv.style.width = "100px";
marksDiv.style.height = "20px";
marksDiv.style.background = "white";
marksDiv.style.color = "black";
marksDiv.style.marginLeft = "10%";
marksDiv.style.marginBottom = "15px";
marksDiv.style.fontSize = "11px";
var optionDiv = document.createElement("div");
optionDiv.style.width = "80%";
optionDiv.style.background = "white";
optionDiv.style.color = "black";
optionDiv.style.marginLeft = "8%";
optionDiv.style.wordWrap = "break-word";
optionDiv.style.marginBottom = "40px";
optionDiv.style.fontSize = "11px";
var totalQuestionHTML = "";
var continueToCheckQ = false;
// var checked = false;
var question = resultData.results.rows[i - 1].Questions;
// <P class="p9 ft7">c. A<SPAN class="ft14">T </SPAN>+ A is skew<SPAN class="ft16"></SPAN>symmetric.</P>
for (var j = 0; j < question.length; j++) {
var letter = question.charAt(j).toUpperCase();
if (question.charAt(j) == "^") {
continueToCheckQ = true;
}
else if (question.charAt(j) == "`" && continueToCheckQ) {
continueToCheckQ = false;
j += 1;
totalQuestionHTML += "<SPAN class=\"ft14\">" + question.charAt(j) + "</SPAN>";
}
else if (letter.toLowerCase() != letter) {
// it's a letter
totalQuestionHTML += question.charAt(j);
}
else if (letter.toLowerCase() == letter) {
totalQuestionHTML += "<SPAN class=\"ft15\">" + question.charAt(j) + "</SPAN>";
}
else if (letter.match(subscripts)) {
totalQuestionHTML += "<SPAN class=\"ft14\">" + question.charAt(j) + "</SPAN>";
}
// else if(letter.match(superscripts)){
// totalQuestionHTML += "<SPAN class=\"ft14\">" + question.charAt(j) + "</SPAN>";
// }
}
var continueToCheckA = false;
var option1HTML = "<input type=\"radio\" name=\"question" + i + "\" id=\"" + i + resultData.results.rows[i - 1].A + "\" onclick=\"recordAnswer(" + i + ",'" + resultData.results.rows[i - 1].A + "')\"> ";
var option1 = String(resultData.results.rows[i - 1].A);
// <P class="p9 ft7">c. A<SPAN class="ft14">T </SPAN>+ A is skew<SPAN class="ft16"></SPAN>symmetric.</P>
for (var j = 0; j < option1.length; j++) {
var letter = option1.charAt(j).toUpperCase();
if (option1.charAt(j) == "^") {
continueToCheckA = true;
}
else if (option1.charAt(j) == "`" && continueToCheckA) {
continueToCheckA = false;
j += 1;
option1HTML += "<SPAN class=\"ft14\">" + option1.charAt(j) + "</SPAN>";
}
else if (letter.toLowerCase() != letter) {
// it's a letter
option1HTML += option1.charAt(j);
}
else if (letter.toLowerCase() == letter) {
option1HTML += "<SPAN class=\"ft15\">" + option1.charAt(j) + "</SPAN>";
}
else if (letter.match(subscripts)) {
option1HTML += "<SPAN class=\"ft14\">" + option1.charAt(j) + "</SPAN>";
}
else if (letter.match(superscripts)) {
option1HTML += "<SPAN class=\"ft14\">" + option1.charAt(j) + "</SPAN>";
}
}
var continueToCheckB = false;
var option2HTML = "<input type=\"radio\" name=\"question" + i + "\" id=\"" + i + resultData.results.rows[i - 1].B + "\" onclick=\"recordAnswer(" + i + ",'" + resultData.results.rows[i - 1].B + "')\"> ";
var option2 = String(resultData.results.rows[i - 1].B);
// <P class="p9 ft7">c. A<SPAN class="ft14">T </SPAN>+ A is skew<SPAN class="ft16"></SPAN>symmetric.</P>
for (var j = 0; j < option2.length; j++) {
var letter = option2.charAt(j).toUpperCase();
if (option2.charAt(j) == "^") {
continueToCheckB = true;
}
else if (option2.charAt(j) == "`" && continueToCheckB) {
continueToCheckB = false;
j += 1;
option2HTML += "<SPAN class=\"ft14\">" + option2.charAt(j) + "</SPAN>";
}
else if (letter.toLowerCase() != letter) {
// it's a letter
option2HTML += option2.charAt(j);
}
else if (letter.toLowerCase() == letter) {
option2HTML += "<SPAN class=\"ft15\">" + option2.charAt(j) + "</SPAN>";
}
else if (letter.match(subscripts)) {
option2HTML += "<SPAN class=\"ft14\">" + option2.charAt(j) + "</SPAN>";
}
else if (letter.match(superscripts)) {
option2HTML += "<SPAN class=\"ft14\">" + option2.charAt(j) + "</SPAN>";
}
}
var continueToCheckC = false;
var option3HTML = "<input type=\"radio\" name=\"question" + i + "\" id=\"" + i + resultData.results.rows[i - 1].C + "\" onclick=\"recordAnswer(" + i + ",'" + resultData.results.rows[i - 1].C + "')\"> ";
var option3 = String(resultData.results.rows[i - 1].C);
// <P class="p9 ft7">c. A<SPAN class="ft14">T </SPAN>+ A is skew<SPAN class="ft16"></SPAN>symmetric.</P>
for (var j = 0; j < option3.length; j++) {
var letter = option3.charAt(j).toUpperCase();
if (option3.charAt(j) == "^") {
continueToCheckC = true;
}
else if (option3.charAt(j) == "`" && continueToCheckC) {
continueToCheckC = false;
j += 1;
option3HTML += "<SPAN class=\"ft14\">" + option3.charAt(j) + "</SPAN>";
}
else if (letter.toLowerCase() != letter) {
// it's a letter
option3HTML += option3.charAt(j);
}
else if (letter.toLowerCase() == letter) {
option3HTML += "<SPAN class=\"ft15\">" + option3.charAt(j) + "</SPAN>";
}
else if (letter.match(subscripts)) {
option3HTML += "<SPAN class=\"ft14\">" + option3.charAt(j) + "</SPAN>";
}
else if (letter.match(superscripts)) {
option3HTML += "<SPAN class=\"ft14\">" + option3.charAt(j) + "</SPAN>";
}
}
var continueToCheckD = false;
var option4HTML = "<input type=\"radio\" name=\"question" + i + "\" id=\"" + i + resultData.results.rows[i - 1].D + "\" onclick=\"recordAnswer(" + i + ",'" + resultData.results.rows[i - 1].D + "')\"> ";
var option4 = String(resultData.results.rows[i - 1].D);
// <P class="p9 ft7">c. A<SPAN class="ft14">T </SPAN>+ A is skew<SPAN class="ft16"></SPAN>symmetric.</P>
for (var j = 0; j < option4.length; j++) {
var letter = option4.charAt(j).toUpperCase();
if (option4.charAt(j) == "^") {
continueToCheckD = true;
}
else if (option4.charAt(j) == "`" && continueToCheckD) {
continueToCheckD = false;
j += 1;
option4HTML += "<SPAN class=\"ft14\">" + option4.charAt(j) + "</SPAN>";
}
else if (letter.toLowerCase() != letter) {
// it's a letter
option4HTML += option4.charAt(j);
}
else if (letter.toLowerCase() == letter) {
option4HTML += "<SPAN class=\"ft15\">" + option4.charAt(j) + "</SPAN>";
}
else if (letter.match(subscripts)) {
option4HTML += "<SPAN class=\"ft14\">" + option4.charAt(j) + "</SPAN>";
}
else if (letter.match(superscripts)) {
option4HTML += "<SPAN class=\"ft14\">" + option4.charAt(j) + "</SPAN>";
}
}
var value = i.toString().concat(". ");
// questionDiv.innerHTML = value.concat("dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd");
// questionDiv.innerHTML = value.concat(resultData.results.rows[i - 1].Question);
questionDiv.innerHTML = value.concat(totalQuestionHTML);
marksDiv.innerHTML = "[1 Marks]";
// optionDiv.innerHTML = "<input type=\"radio\" name=\"question" + i + "\" id=\"" + i + resultData.results.rows[i - 1].A + "\" onclick=\"recordAnswer(" + i + ",'" + resultData.results.rows[i - 1].A + "')\"> " + resultData.results.rows[i - 1].A + "<br>" +
// "<input type=\"radio\" name=\"question" + i + "\" id=\"" + i + resultData.results.rows[i - 1].B + "\" onclick=\"recordAnswer(" + i + ",'" + resultData.results.rows[i - 1].B + "')\"> " + resultData.results.rows[i - 1].B + "<br>" +
// "<input type=\"radio\" name=\"question" + i + "\" id=\"" + i + resultData.results.rows[i - 1].C + "\" onclick=\"recordAnswer(" + i + ",'" + resultData.results.rows[i - 1].C + "')\"> " + resultData.results.rows[i - 1].C + "<br>" +
// "<input type=\"radio\" name=\"question" + i + "\" id=\"" + i + resultData.results.rows[i - 1].D + "\" onclick=\"recordAnswer(" + i + ",'" + resultData.results.rows[i - 1].D + "')\"> " + resultData.results.rows[i - 1].D + "<br>";
optionDiv.innerHTML = option1HTML + "<br>" +
option2HTML + "<br>" +
option3HTML + "<br>" +
option4HTML + "<br>";
element.appendChild(questionDiv);
element.appendChild(marksDiv);
element.appendChild(optionDiv);
}
var submitBtn = document.getElementById('submitBtn');
var previousButton = document.createElement("button");
previousButton.style.width = "80px";
previousButton.innerHTML = "Previous";
previousButton.style.background = "white";
previousButton.style.color = "blue";
previousButton.style.borderRadius = "10px";
previousButton.style.borderColor = "#aaa";
previousButton.style.marginLeft = "8%";
previousButton.style.marginBottom = "40px";
previousButton.style.fontSize = "14px";
previousButton.style.fontWeight = 'bold';
previousButton.className = "btn btn-primary";
if (windowL <= 1) {
previousButton.disabled = true;
// submitBtn.style.visibility = 'false';
}
else if (windowL > 1)
previousButton.disabled = false;
// previousButton.addEventListener("click", decrementPage(), false);
previousButton.onclick = function() {
decrementPage();
};
var nextButton = document.createElement("button");
nextButton.style.width = "60px";
nextButton.innerHTML = "Next";
nextButton.style.background = "white";
nextButton.style.color = "blue";
nextButton.style.borderRadius = "10px";
nextButton.style.borderColor = "#aaa";
nextButton.style.marginLeft = "2px";
nextButton.style.marginBottom = "40px";
nextButton.style.fontSize = "14px";
nextButton.style.fontWeight = 'bold';
nextButton.className = "btn btn-primary";
if (windowR >= numQuestions) {
nextButton.disabled = true;
submitBtn.style.visibility = 'visible';
}
else if (windowR < numQuestions) {
nextButton.disabled = false;
submitBtn.style.visibility = 'hidden';
}
// nextButton.addEventListener("click", incrementPage(), false);
nextButton.onclick = function() {
incrementPage();
};
element.appendChild(previousButton);
element.appendChild(nextButton);
}
$(document).ready(function() {
var questionSet = ["question1.csv","question2.csv","question3.csv","question4.csv","question5.csv"];
var modelQuestionName = "modelQuestion"+Math.floor(Math.random() * 4).toString()+".csv";
$.ajax({
type: "GET",
url: "res/Questions/"+modelQuestionName,
dataType: "text",
success: function(data) {
processCSV(data);
}
});
var second = 00;
var minute = 02;
var hour = 1;
setInterval(timer, 1000); //1000 will run it every 1 second
document.getElementById("timer").innerHTML = hour + ":" + minute + ":" + second;
document.getElementById("answeredNumField").innerHTML = "You have answered " + "'" + numAnsweredQuestions + "'" + " out of '65.";
document.getElementById("submissionWarning").innerHTML = "You have answered '" + numAnsweredQuestions + "' out of '65' questions. You will not be able to change it. Do you want to submit it anyway?";
function timer()
{
second = second - 1;
if (second <= 0) {
minute -= 1;
second = 60;
}
if (minute < 0) {
hour -= 1;
minute = 59;
second = 60;
}
if (minute <= 0 && hour <= 0 && second <= 0) {
return;
//TODO: call submit button
openScorePage();
}
document.getElementById("timer").innerHTML = hour + ":" + minute + ":" + second;
}
$(window).scroll(function() {
if ($(this).scrollTop() > 100) {
$('#gotTopBtn').stop().animate({
top: '20px'
}, 200);
}
else {
$('#gotTopBtn').stop().animate({
top: '-100px'
}, 200);
}
});
$('#gotTopBtn').click(function() {
$('html, body').stop().animate({
scrollTop: 0
}, 200, function() {
$('#gotTopBtn').stop().animate({
top: '-100px'
}, 200);
});
});
});
</script>
</head>
<body id="bodyElement" style="background-color: #cccccc;width: 100%;">
<div class="container">
<div class="row clearfix">
<div class="col-md-12 column">
<div class="modal fade" id="modal-container-94604" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>
<div id ="unanswerdQuestions" class="modal-body" style="background-color: #0066cc;color:#ffffff;word-wrap: break-word;width: 100%;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Okay</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row clearfix">
<div class="col-md-12 column">
<div class="modal fade" id="modal-container-94605" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>
<div id="submissionWarning" class="modal-body" style="background-color: #0066cc;color:#ffffff;word-wrap: break-word;width: 100%;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="openScorePage()">Submit</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="background-color: #0066cc;width: 300px;height: 140px;position: fixed;top: 7%;left: 57%;border-radius: 10px;padding-left: 10px;">
<h4 style="color:#ffffff;word-wrap: break-word;width: 50%;">Your Name(Username)</h4>
<img style="color:#ffffff;position: absolute;left: 220px;top:15px;" src="res/yourPhoto.png">
<h6 style="color:#ffffff;font-weight: bold;">Time Remaining: </h6><h4 id="timer" style="color:#ffffff;position: absolute;left: 130px;top:45px;font-weight: bold;"></h4>
<h5 id="answeredNumField" style="color:#ffffff;font-weight: bold;word-wrap: break-word;width: 60%;"></h5>
<a id="modal-94604" href="#modal-container-94604" role="button" class="btn" data-toggle="modal" style="visibility: hidden;position: absolute;left: 30px;top:110px;color: #ffffff">View unanswered questions</a>
</div>
<div style="background-color: #dddddd;margin-bottom: 5px;width: 101%;" class="row clearfix">
<div class="col-md-12 column">
<h6 class="text-center text-primary">
Entrance Examination Application 29.0.8
</h6>
</div>
</div>
<!--<P class="p4 ft7">b. AA<SPAN class="ft14">T </SPAN>is skew<SPAN class="ft15"></SPAN>symmetric.</P>-->
<div style="border: 5px;border-color: #999;background-color: #ffffff;width: 60%;height: 50%" class="container">
<div>
<div class="row clearfix">
<div class="col-md-1 column">
<img alt="140x140" src="res/companyLogo.png">
</div>
<div class="col-md-11 column">
<!--<span class="label label-primary">Label</span> <span class="label label-primary">Label</span> <span class="label label-primary">Label</span>-->
<h6 class="text-left text-primary">
Tribhuvan University
</h6>
<!--<br>-->
<h6 class="text-left text-primary">
Institute of Engineering
</h6>
<!--<br>-->
<h6 class="text-left text-primary">
Online Entrance Examination
</h6>
</div>
</div>
<div style="background-color: #0066cc;margin-bottom: 30px;" class="row clearfix">
<div class="col-md-8 column">
<h4 class="text-left" style="color: #ffffff">
B.E/B.Arch. Online Entrance Examination
</h4>
</div>
</div>
<div id="questionArea" class="row clearfix" style="margin-bottom: 30px;width: 80%;padding-top: 20px;">
</div>
<div id="submissionArea" class="row clearfix" style="margin-bottom: 30px;margin-left:4%;width: 97.9%;background-color: #eee;height:80px;padding-top: 3%;border-color: #dddddd;border-style:solid;border-width: 1px;">
<!--<div id="submitBtn" onclick="openScorePage()" style="float: left;margin-left: 20px;" class="btn btn-primary">-->
<!--Submit-->
<!--</div>-->
<a id="submitBtn" href="#modal-container-94605" role="button" class="btn btn-primary" data-toggle="modal" style="float: left;margin-left: 20px;">Submit</a>
<div class="btn btn-primary" id="gotTopBtn" style="height: 30px;float: right;margin-right: 20px;">
Go to top <i class="glyphicon glyphicon-arrow-up"></i>
</div>
</div>
<div style="background-color: #0066cc;" class="row clearfix">
<div class="col-md-12 column">
<!--<span class="label label-default">Label</span> <span class="label label-default">Label</span> <span class="label label-default">Label</span> <span class="label label-default">Label</span>-->
<h6 class="text-center" style="color: #ffffff" >
Powered By:
</h6>
<h6 class="text-center" style="color: #ffffff" >
NexGen, Next Generation Solutions
</h6>
<h6 class="text-center" style="color: #ffffff" >
Phone No: 9813254445,9849682320,9803047080,9845390340
</h6>
<h6 class="text-center" style="color: #ffffff" >
Email: dpn_rau@hotmail.com,rupeeshnidhi@gmail.com
</h6>
</div>
</div>
</div>
</div>
</body>
</html>