E-mail List Archives
Re: Using <LI> elements as clickable, focusable objects in menus
From: Swift, Daniel P.
Date: Jan 6, 2017 1:58PM
- Next message: JP Jamous: "Re: Using
- elements as clickable, focusable objects in menus"
- Previous message: Jeff Gutsell: "Using
- elements as clickable, focusable objects in menus"
- Next message in Thread: JP Jamous: "Re: Using
- elements as clickable, focusable objects in menus"
- Previous message in Thread: Jeff Gutsell: "Using
- elements as clickable, focusable objects in menus"
- View all messages in this Thread
Jeff:
Do you have an example? You have me wondering if I've been doing the wrong thing -- I've never used the list item itself as clickable but instead placed the 'a' tag as a child of the list items. When sub-menus are needed, I've used nested lists (code to demonstrate nesting only):
<ul>
<li><a href="something">parent</a>
<ul>
<li><a href="something">child</a></li>
<li><a href="something">child</a></li>
</ul>
</li>
<li><a href="something">parent</a>
<ul>
<li><a href="something">child</a></li>
<li><a href="something">child</a></li>
</ul>
</li>
</ul>
Thanks!
Dan
- Next message: JP Jamous: "Re: Using
- elements as clickable, focusable objects in menus"
- Previous message: Jeff Gutsell: "Using
- elements as clickable, focusable objects in menus"
- Next message in Thread: JP Jamous: "Re: Using
- elements as clickable, focusable objects in menus"
- Previous message in Thread: Jeff Gutsell: "Using
- elements as clickable, focusable objects in menus"
- View all messages in this Thread