Hello Java experts,
This question concerns the attempted implementation of animated navigation
menus on the left nav of a dynamically populated page/website. The left nav
menus are simply categories and sub-categories that expand to the right on
mouse over. A click is required to actually navigate to either the 1st, 2nd,
or 3rd tier of menu categories.
I have a fundamental question to ask of you learned Java programmers. If
Java is being used to load animated navigation menus on the left nav column
how much control over the load delay is there?
In other words, is it normal to have the index page remain completely blank
for a count of 10-12 seconds while all of the graphics and all of the Java
menus load in the background and then suddenly pop into view, or is it
possible to have the page load quickly and conventionally (like a page with
no Java script) and then allow the Java to load in the background? Basically
holding back the loading of the Java to allow the balance of the page to
load prior to the Java script?
Secondarily to this question:
Once the home/index page has loaded and the Java menus are active on the
left nav, is there a way to avoid having he screen go blank again when you
click on a link and navigate to another page on the same website. My site
goes blank for another count of 10-12 seconds (over cable!) while it waits
to load all the graphics and again loads the same java menu before
refreshing the screen! Seems like once the Java has loaded it should be held
in a cache somehow to avoid having to re-load it every time you move to
another page within the same website???
Is this just the way it is with Java driven nav menus, or is the code
installed wrong, or does the code just stink and needs to be replaced?
Please advise,
Thank you.... ojitoys1
Andrew Thompson - 30 Nov 2004 11:47 GMT
> Is this just the way it is with Java driven nav menus, or is the code
> installed wrong, or does the code just stink and needs to be replaced?
What code, ..what site? Where is your URL?

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
FISH - 30 Nov 2004 16:50 GMT
> Hello Java experts,
>
[quoted text clipped - 3 lines]
> mouse over. A click is required to actually navigate to either the 1st, 2nd,
> or 3rd tier of menu categories.
[snipped...]
Reading your posting I began to wonder if you are mistaking Java for
JavaScript (?) Normally an applet would simply load into a rectangular
area on the page, and would not prevent the rest of the page from being
loaded and progressively rendered (apart from competing for network
bandwidth, naturally). Your description suggests you may be working
with JavaScript, not Java. (The two are related only by a similar
name and a vague similarity to the C syntax.)
To answer your two points from a Java applet point of view: Firstly,
Java can indeed control the loading of resources like images. If
the applet is written well it may function even before all its
resources have finished loading. If not, it won't! Secondly, if the
applet is on a page, and the browser departs for another page, the
applet may have to be loaded again - although typically a cached copy
will be used. The solution is to place the menu in its own frame.
-FISH- ><