+ 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>

27th Dec 2017, 8:26 AM
rg brandske
rg brandske - avatar
12 Respuestas
+ 1
like page have the page scroll to the specific content, or give info when hovered?
29th Dec 2017, 5:03 AM
Cooper Allen
Cooper Allen - avatar
+ 1
To give information when hovered.
29th Dec 2017, 11:32 AM
rg brandske
rg brandske - avatar
+ 1
try giving the inline attribute title="This appears when hovered", sorry if this isn't what you are looking for.
2nd Jan 2018, 10:17 AM
Cooper Allen
Cooper Allen - avatar
+ 1
NVM this seems to be a JavaScript type question
2nd Jan 2018, 10:20 AM
Cooper Allen
Cooper Allen - avatar
+ 1
no.Using the html
2nd Jan 2018, 6:10 PM
rg brandske
rg brandske - avatar
+ 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.
3rd Jan 2018, 1:17 AM
Hanz
Hanz - avatar
+ 1
yeah i do am done with css and html and php
4th Jan 2018, 7:37 AM
rg brandske
rg brandske - avatar
+ 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.
4th Jan 2018, 11:28 AM
Hanz
Hanz - avatar
+ 1
u can try <details> and <summary> tag
4th Jan 2018, 3:16 PM
Yen
Yen - avatar
+ 1
#low kai Han...Thankyou this will be of much help.Atleast now i got an idea.#Bie...Thankyou too for your contribution.
5th Jan 2018, 4:18 AM
rg brandske
rg brandske - avatar
+ 1
you're welcome :)
5th Jan 2018, 4:57 AM
Yen
Yen - avatar