+ 2
How do i insert dropdown on a link like (Services)which is at the header?Details to be dropped ;Designing,Branding
<ul> <li><a class="active" href="Home.html">Home</a></li> <li><a href="Services.html">Services</a></li> </ul>
12 Antworten
+ 1
like page have the page scroll to the specific content, or give info when hovered?
+ 1
To give information when hovered.
+ 1
try giving the inline attribute title="This appears when hovered", sorry if this isn't what you are looking for.
+ 1
NVM this seems to be a JavaScript type question
+ 1
no.Using the html
+ 1
@rg brandske
Do you have basic knowledge on css? With pure html skill it is a bit hard to achieve your goal. Things get easier if you know css, and even better if you know JavaScript just as suggested by Cooper Allen.
+ 1
yeah i do am done with css and html and php
+ 1
Great, you need to know the hover and display attributes to create a dropdown menu:
1. Create a list of informations you want ("Designing" & "Branding" in this case).
2. Add a class to the list, set the display attribute to "none" in the class.
3. Use the hover attribute to make the display value be set to "block" or "inline-block" etc when the "Service" section is hovered.
+ 1
Here are some examples you can use as reference.
https://code.sololearn.com/WFt41O8bcL8b/#css
https://code.sololearn.com/WX2uLTy04aEp/#css
https://code.sololearn.com/WFz4FhyCHzcz/#html
https://code.sololearn.com/Wq0zIUbi9p44/#html
+ 1
u can try <details> and <summary> tag
+ 1
#low kai Han...Thankyou this will be of much help.Atleast now i got an idea.#Bie...Thankyou too for your contribution.
+ 1
you're welcome :)