Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AFCM-Egypt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2022 Competition
AFCM-Egypt
Commits
17eafc67
Commit
17eafc67
authored
2 years ago
by
Khalid Hela
Browse files
Options
Downloads
Patches
Plain Diff
Update static/pafcm.js
parent
ef2f0397
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#178057
passed
2 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
static/pafcm.js
+19
-0
19 additions, 0 deletions
static/pafcm.js
with
19 additions
and
0 deletions
static/pafcm.js
+
19
−
0
View file @
17eafc67
const
body
=
document
.
querySelector
(
"
body
"
);
const
navbar
=
document
.
querySelector
(
"
.navbar
"
);
const
menu
=
document
.
querySelector
(
"
.menu-list
"
);
const
menuBtn
=
document
.
querySelector
(
"
.menu-btn
"
);
const
cancelBtn
=
document
.
querySelector
(
"
.cancel-btn
"
);
menuBtn
.
onclick
=
()
=>
{
menu
.
classList
.
add
(
"
active
"
);
menuBtn
.
classList
.
add
(
"
hide
"
);
body
.
classList
.
add
(
"
disabledScroll
"
);
}
cancelBtn
.
onclick
=
()
=>
{
menu
.
classList
.
remove
(
"
active
"
);
menuBtn
.
classList
.
remove
(
"
hide
"
);
body
.
classList
.
remove
(
"
disabledScroll
"
);
}
window
.
onscroll
=
()
=>
{
this
.
scrollY
>
20
?
navbar
.
classList
.
add
(
"
sticky
"
)
:
navbar
.
classList
.
remove
(
"
sticky
"
);
}
const
sections
=
document
.
querySelectorAll
(
"
section
"
);
...
...
This diff is collapsed.
Click to expand it.
Khalid Hela
@Khalid21AbdullAziz
mentioned in commit
5ece6926
·
2 years ago
mentioned in commit
5ece6926
mentioned in commit 5ece6926473eb82f7e82a436e455c3b8f241e44e
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment