Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
49cc3eff
Commit
49cc3eff
authored
Aug 19, 2015
by
Muhammad Shoaib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added the javascript for the window scroll and timer bar will be visible when scrolling the window
parent
bf5de42f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
edx_proctoring/static/proctoring/js/proctored_app.js
+12
-0
No files found.
edx_proctoring/static/proctoring/js/proctored_app.js
View file @
49cc3eff
...
@@ -5,4 +5,16 @@ $(function() {
...
@@ -5,4 +5,16 @@ $(function() {
model
:
new
ProctoredExamModel
()
model
:
new
ProctoredExamModel
()
});
});
proctored_exam_view
.
render
();
proctored_exam_view
.
render
();
// show the timer bar when the window scrolls.
$
(
window
).
scroll
(
function
()
{
if
(
$
(
this
).
scrollTop
()
>
60
){
$
(
".proctored_exam_status"
).
addClass
(
'fixed'
);
$
(
".wrapper-course-material"
).
css
(
'margin-top'
,
'58px'
);
}
else
{
$
(
".proctored_exam_status"
).
removeClass
(
'fixed'
);
$
(
".wrapper-course-material"
).
css
(
'margin-top'
,
'0'
);
}
});
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment