Click here to get back home

tree menu in dhtml

 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
tree menu in dhtml Andromeda 09-15-2004
Get Chitika Premium
Posted by Andromeda on September 15, 2004, 1:12 am
Please log in for more thread options
I've been trying to add a tree menu to my website with some luck (more
or less). I came across a script on simplythebest.net, but I seem to
be having a problem with it... and since they have no help section,
this has brought me here.

The script can be found at
http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_100.html
(no login or anything required... I just thought the script might be
too long to repost here)

The problem:

It says to change the number 22 in the line
function makeDatabase() {
        outline = new makeArray(22)
to the number of outlines plus one. Well, It turns out I'm going to
need around 40 or so outlines, but when I change the number to 40 or
41 (however many I added plus one) it only shows the first 20 or so
outlines on my page and just cuts off the rest. I'm still learning
dhtml and javascript, so I don't know what else I can change to have
it show the other 20something links.

Any thoughts would be most helpful.

Thanks!


Posted by Mark Parnell on September 15, 2004, 6:21 pm
Please log in for more thread options
in comp.infosystems.www.authoring.html:

> http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_100.html

> Any thoughts would be most helpful.

Without Javascript, not only does the menu not work, it doesn't even
exist.

--
Mark Parnell
http://www.clarkecomputers.com.au


Posted by Andromeda on September 15, 2004, 9:52 am
Please log in for more thread options
> in comp.infosystems.www.authoring.html:
>
> > http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_100.html
>
> > Any thoughts would be most helpful.
>
> Without Javascript, not only does the menu not work, it doesn't even
> exist.


Should I assume this means you have scripts disabled on your machine?
I'm not really sure what I need to do with this response since its
worked fine on every browser/computer I've tried it on.


Posted by Neal on September 15, 2004, 12:55 pm
Please log in for more thread options

>> in comp.infosystems.www.authoring.html:
>>
>> > http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_100.html
>>
>> > Any thoughts would be most helpful.
>>
>> Without Javascript, not only does the menu not work, it doesn't even
>> exist.
>
>
> Should I assume this means you have scripts disabled on your machine?
> I'm not really sure what I need to do with this response since its
> worked fine on every browser/computer I've tried it on.

Client side scripting must be assumed off in design. Test with it off.

Whether or not the browsers you've used show the site to function, the
recommendations allow UAs to ignore scripts. So your design must account
for that reality.

If you MUST use client-side scripting to make links, provide a real link
alternative so content can be accessed.


Posted by Alan J. Flavell on September 15, 2004, 6:11 pm
Please log in for more thread options
On Wed, 15 Sep 2004, Andromeda wrote:

> Should I assume this means you have scripts disabled on your machine?

Doesn't everyone, when visiting untrusted web pages? :-}

> I'm not really sure what I need to do with this response since its
> worked fine on every browser/computer I've tried it on.

You're new around here, evidently.


Similar ThreadsPosted
DHTML MENU problem in IE November 19, 2005, 1:42 pm
Creating a category tree September 27, 2005, 12:13 am
Problem with Tree view December 14, 2006, 12:42 am
Could HTML and XHTML be characterized by a DOM tree? January 9, 2005, 8:37 am
Script for migrating HTML tree into a single directory ? September 23, 2005, 10:41 am
How to find out un-referenced webpages,images and files in web pages directory tree ? December 6, 2007, 6:15 am
dhtml can do it also... February 22, 2006, 9:51 am
Win SP2 and opening DHTML from CD-ROM February 16, 2005, 6:03 pm
RE: DHTML Notes and Information October 9, 2005, 6:29 pm
DHTML Notes and Information October 2, 2005, 3:54 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap