labs.fossasia.org | Projects Website for FOSSASIA http : //labs.fossasia.org | Web Site library
kandi X-RAY | labs.fossasia.org Summary
kandi X-RAY | labs.fossasia.org Summary
Code of website:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of labs.fossasia.org
labs.fossasia.org Key Features
labs.fossasia.org Examples and Code Snippets
Community Discussions
Trending Discussions on labs.fossasia.org
QUESTION
I want to open this dropdown menu on hovering mouse on it. I have tried to open this dropdown-menu with onclick command but I was not fully succeeded in that, so I decided to make dropdown-menu on hovering.
CSS:
...ANSWER
Answered 2018-Jul-19 at 00:31Your code isn't complete. But, I can give you simple example.
The main idea is to set display: none
of dropdown-content
when the cursor is out of the dropdownbtn
. When the cursor hovers on it, set dropdown-content
to be display: block
.
QUESTION
When I click outside the menu the drop-down menu is not closing. I have tried with functions but I was not able to solve it.
...ANSWER
Answered 2018-Jul-02 at 05:41You can use javascript to achieve that.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install labs.fossasia.org
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page