Hi all,
I want to make a dropdown link list like the one at the top of DaniWeb. What would that be called? How do i start??
Thanks
Wilko
Hi all,
I want to make a dropdown link list like the one at the top of DaniWeb. What would that be called? How do i start??
Thanks
Wilko
It's just a drop down menu.
Here is a very basic one:
<ul>
<li>
<a href='javascript:void(0)' id='firstLink'>
Link 1
<ul>
<li>Link2</li>
<li>Link 3</li>
</ul>
</a>
</li>
</ul>
<style>
li a ul{
display:none;
}
li a{
display:inline-block;
}
li a:hover ul
{
display:block;
}
</style>
If you want to see it in action here is the jsFiddle for it: http://jsfiddle.net/pLKSw/
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.