I\'m required to build a menu with 5 options, upon clicking a certain one a new sub menu is to appear. I have absolutely no idea how to do this.
Of course I am late but:
You can trigger a css click using a hack!!
Work with an checkbox!!
Sample:
ul{
display: none;
}
#checkbox{
opacity: 0;
}
#checkbox:checked + ul {
display: block;
}
You can use transitions to animate the show an hide effect :) This is just a very simple example!!
Mention: this is a CSS3 hack if you need borwser support for old browsers this is not working.