![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I can't remember how to set up a list of hyperlinks for a project I'm working on. I think it involves an "onclick" command. What I'm trying to do is to have a list of links that when clicked on give you a sublist of links. For example: Michigan Missourri New Mexico can all be clicked on and when you click on Michigan a list appears below Michigan with links to pages like Detroit, Lansing & Grand Rapids. When you click Missourri, the open list under Michigan would close and a similar list would appear under Missourri. |
#3
| |||
| |||
|
|
"JoeyMichelle" wrote I can't remember how to set up a list of hyperlinks for a project I'm working on. I think it involves an "onclick" command. What I'm trying to do is to have a list of links that when clicked on give you a sublist of links. For example: Michigan Missourri New Mexico can all be clicked on and when you click on Michigan a list appears below Michigan with links to pages like Detroit, Lansing & Grand Rapids. When you click Missourri, the open list under Michigan would close and a similar list would appear under Missourri. You want your page to be dynamic. This is a javascript question. Ask in news:comp.lang.javascript or see for a quick example: URL: http://www.mnsys.org/niwo/EXPmenu/ |
#4
| |||
| |||
|
|
Though for something just slightly different, which you might like better when you've seen it, try http://www.meyerweb.com/eric/css/edge/menus/demo.html |
#5
| |||
| |||
|
|
"JoeyMichelle" wrote You want your page to be dynamic. This is a javascript question. Ask in news:comp.lang.javascript or see for a quick example: URL: http://www.mnsys.org/niwo/EXPmenu/ A poor example, because readers without Javascript cannot get to the underlying links. |
#6
| |||
| |||
|
|
"Stephen Poley" wrote Though for something just slightly different, which you might like better when you've seen it, try http://www.meyerweb.com/eric/css/edge/menus/demo.html That page uses :hover on <li> elements, which only some marginally used browsers support. No dependance on javascript at all, woohee! But it must be possible for the major browsers to read the css rules and build some onmouseover event handlers on the fly. Has anyone tried that yet? |
:
#7
| |||
| |||
|
|
"Stephen Poley" wrote Though for something just slightly different, which you might like better when you've seen it, try http://www.meyerweb.com/eric/css/edge/menus/demo.html That page uses :hover on <li> elements, which only some marginally used browsers support. No dependance on javascript at all, woohee! But it must be possible for the major browsers to read the css rules and build some onmouseover event handlers on the fly. Has anyone tried that yet? Ivo |
![]() |
| Thread Tools | |
| Display Modes | |
| |