0

Active, hover menu bar stay active need help.

Hi guys. I am looking for a code with menu bar. Whenever i use hover and click on "contact" that the hover stays active on contact. I know html, css and javascript. I just can't find it. Thanks!

12th Nov 2019, 11:04 PM
Kennykg
Kennykg - avatar
4 Réponses
+ 1
You mean like :active selector?
14th Nov 2019, 7:16 AM
Sarah
Sarah - avatar
14th Nov 2019, 7:22 AM
Sarah
Sarah - avatar
0
Yes but then I see i need javascript with the keyword 'this'. And somehow i can't find 'this' keyword in Atom (programm for writing code) it's not colored just normal standard code. So i am a bit stuck in here.
14th Nov 2019, 7:19 AM
Kennykg
Kennykg - avatar
0
Yes correct. I wrote this 3 times in Atom and it doesn't work cause 'this' keyword doesn't work in Atom. In sololearn i have tried aswell and it says error Btncontainer is null.
14th Nov 2019, 8:01 AM
Kennykg
Kennykg - avatar