Skip to content

Navbar fixed 88#98

Open
nigeldias27 wants to merge 2 commits intoacmpesuecc:masterfrom
nigeldias27:navbar_fixed_88
Open

Navbar fixed 88#98
nigeldias27 wants to merge 2 commits intoacmpesuecc:masterfrom
nigeldias27:navbar_fixed_88

Conversation

@nigeldias27
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
Member

!bounty 50

1 similar comment
@techverve
Copy link
Copy Markdown
Member

!bounty 50

@chick-bot
Copy link
Copy Markdown

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
Copy Markdown
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