AoR Zeta
01-13-2008, 04:19 PM
Let's say I have a navigation bar which I made with an un-ordered list.
<ul id="navigation">
<li><a href="#" title="...">Home</a></li>
<li><a href="#" title="...">Forum</a></li>
<li><a href="#" title="...">Contact</a></li>
<li><a href="#" title="...">About</a></li>
<ul>
Let's also assume that I have styled the ul/lis to look like a navigation bar. Now I want to create a css rollover type thing whereas when one hovers over something in my navigation bar another menu appears below it. I know how to do this with CSS or Javascript or both, what I want to know is how do I/is it possible to give it focus WITHOUT using Javascript?
How it works now is you hover over "Home" for example and the hover menu appears below it. When you scroll your mouse cursor down to hover over the menu it dissapears because it doesn't have focus because you aren't hovering over the a...
Gah, did that make any sense at all?
I'm not very good at explaining things.
<ul id="navigation">
<li><a href="#" title="...">Home</a></li>
<li><a href="#" title="...">Forum</a></li>
<li><a href="#" title="...">Contact</a></li>
<li><a href="#" title="...">About</a></li>
<ul>
Let's also assume that I have styled the ul/lis to look like a navigation bar. Now I want to create a css rollover type thing whereas when one hovers over something in my navigation bar another menu appears below it. I know how to do this with CSS or Javascript or both, what I want to know is how do I/is it possible to give it focus WITHOUT using Javascript?
How it works now is you hover over "Home" for example and the hover menu appears below it. When you scroll your mouse cursor down to hover over the menu it dissapears because it doesn't have focus because you aren't hovering over the a...
Gah, did that make any sense at all?
I'm not very good at explaining things.