Click here to get back home

hyperlinks question

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
hyperlinks question JoeyMichelle 07-21-2004
Get Chitika Premium
Posted by JoeyMichelle on July 21, 2004, 8:07 pm
Please log in for more thread options
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.

Can anyone help?




Posted by Ivo on July 22, 2004, 5:25 am
Please log in for more thread options
"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/ >

HTH
Ivo




Posted by Stephen Poley on July 22, 2004, 8:51 am
Please log in for more thread options

>"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/ >

A poor example, because readers without Javascript cannot get to the
underlying links.

For a better example, see http://www.mattkruse.com/javascript/mktree/

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

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


Posted by Ivo on July 22, 2004, 8:22 pm
Please log in for more thread options
"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




Posted by Warden Dave on July 23, 2004, 1:28 am
Please log in for more thread options
> "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?

Not really, but to give (another) silly example in such a direction ;) :
http://www.mnsys.org/niwo/ul2menu1.html

WD




Similar ThreadsPosted
help with url hyperlinks (question) February 22, 2005, 6:04 pm
Problems with tables and hyperlinks January 23, 2005, 2:02 pm
Two Questions on Link REL/REV and dead-end hyperlinks. December 19, 2005, 11:20 pm
HTML4.01 STRICT and hyperlinks with target October 8, 2008, 4:26 am
Re: HTML4.01 STRICT and hyperlinks with target October 8, 2008, 5:14 pm
hyperlinks to jpeg image fail on new server December 2, 2007, 6:51 am
SSI question June 7, 2005, 11:58 am
OT - RSS Question July 21, 2005, 1:07 am
Another ALT question. February 9, 2006, 7:12 pm
PHP(?) question March 15, 2006, 3:13 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap