Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navbar fixed 88 #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nigeldias27
Copy link

Title

Created a navbar whose background-color is transparent when it is on top and white when it isn't, making it visible.

Description

I have done so by creating a script tag and using scrolltop to get the position of the scrollbar. If it is at zero the innerHTML of nav is different from when it is not zero. I have put this in a setInterval() so that there is enough time delay to click the links. When the screen width is less than 991px the background color is only white like the orginal website.

Issue Closed

If your PR closes an issue, mention it here replacing XX with the issue number. Ex: Closes #XX
Closes #88

@chick-bot
Copy link

chick-bot bot commented Oct 15, 2021

Hi, @nigeldias27! Thank you for your Pull Request 🥳🚀 A Maintainer will review your PR Shortly. Till then, hold tight!

@techverve techverve requested a review from arnxv0 October 15, 2021 18:55
@techverve
Copy link
Member

!bounty 50

1 similar comment
@techverve
Copy link
Member

!bounty 50

@chick-bot
Copy link

chick-bot bot commented Oct 15, 2021

Congrats @nigeldias27 🥳🥳🚀🚀, you got 50 Bounty Points! Check out the Leaderboard to see your new score 😁

@nigeldias27
Copy link
Author

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navbar not visible while scrolling
2 participants