Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / December 2004



Tip: Looking for answers? Try searching our database.

Suggestions needed for a an expanding tree menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
erikd@nospam.wanted.here - 23 Dec 2004 23:02 GMT
I'm using an expanding tree menu based on the design from Dieter
Bungers GMD (www.gmd.de) and infovation (www.infovation.de) named
displayToc.js. The problem is that the script isn't working properly
in Firefox, although it's working without problems in IE 5.5 & 6.0 In
Firefox any file which isn't in the same directory isn't found, so the
images are missing and the links don't launch. It may be something
simple, but I don't have the experience yet to be able to locate the
problem.

I'm not sure it's worth trying to troubleshoot the problem or if I'd
be better off just getting a more updated version which works properly
in multiple browsers. There are a lot of tree menus found doing a
search of Google, so I'm hoping that someone can cut my research and
recommend one which they've had success with using both browsers.

Signature

Erik

Martin Honnen - 24 Dec 2004 12:10 GMT
> I'm using an expanding tree menu based on the design from Dieter
> Bungers GMD (www.gmd.de) and infovation (www.infovation.de) named
[quoted text clipped - 4 lines]
> simple, but I don't have the experience yet to be able to locate the
> problem.

I have looked at the URLs named above but don't see a tree menu there.
If you want help you will need to post a URL where we can see the code.
As for trying to figure out why it doesn't work with Firefox, have you
checked the Firefox JavaScript console whether it shows any errors?

Signature

    Martin Honnen
    http://JavaScript.FAQTs.com/

Richard - 24 Dec 2004 15:33 GMT
> I'm using an expanding tree menu based on the design from Dieter
> Bungers GMD (www.gmd.de) and infovation (www.infovation.de) named
[quoted text clipped - 4 lines]
> simple, but I don't have the experience yet to be able to locate the
> problem.

> I'm not sure it's worth trying to troubleshoot the problem or if I'd
> be better off just getting a more updated version which works properly
> in multiple browsers. There are a lot of tree menus found doing a
> search of Google, so I'm hoping that someone can cut my research and
> recommend one which they've had success with using both browsers.

> --
> Erik

http://dynamicdrive.com/dynamicindex1/switchmenu.htm

Try this one out.
Each main item has a submenu which expands when clicked on.
All others are collapsed.
Easy to change.
Works in NS, IE and FF.
Michael Winter - 24 Dec 2004 22:45 GMT
[snip]

> http://dynamicdrive.com/dynamicindex1/switchmenu.htm

Why would the OP want to use something as badly written as that? Toby  
Inkster's (<URL:http://examples.tobyinkster.co.uk/menu/menu2>) is better,  
though the script is a little crude. I suggested an alternative  
(<URL:http://groups.google.co.uk/groups?q=g:thl4113530633d&&selm=opsf4q5nt8x13kvk%40at
lantis
>)  
though it could be improved, too. For example, init could use  
getElementsByTagName to hide the menu items, rather than requiring all of  
the sections to be listed.

[snip]

Mike

Signature

Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.

Matt Kruse - 30 Dec 2004 16:45 GMT
> There are a lot of tree menus found doing a
> search of Google, so I'm hoping that someone can cut my research and
> recommend one which they've had success with using both browsers.

Mine works well, and I've had a lot of people implement it easily and
quickly:
http://www.javascripttoolbox.com/mktree/

Signature

Matt Kruse
http://www.JavascriptToolbox.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.