G'day all... am experiencing a vexing JS/DHTML problem that I can't figure out... a
client specifically wants a "Netscape style" drop-down menuing system such as is
used at various places on developer.netscape.com.
Now, I've figured out how to do it, but not without the following glitch; have a look
at
http://www.almonte.com/sosb/index.html
... where I have a mock-up couple of pages to demo the menu system. Now, the
first time you mouseover any of the links at the top you (should) see the drop-
down stuff no problem, and the color highlighting of each menu item. Clicking on
any of the items should, for now, take you to a new page, blank.html, which is a
placeholder. Here's where the problem arises: sometimes (not always) when I go
to that new page, the menu doesn't work initially -- the mouseover just displays a
small blue bar at roughly the x-point where the bottom of the menus should in fact
appear. (This leads me right away to suspect a layer problem of some sort, since it
seems the browser is trying to place an object in the right place, but on the wrong
layer, or something.)
Clicking anywhere on the page other than the menu bar usually fixes the problem,
and the menus work consistently thereafter. Usually.
Anyway, could any of you JS keeners have a look and tell me (a) does this problem
occur at all at your end, and (b) if so, what you think may be causing it.
This page is tailored for NS 4.x, 800x600, BTW... it's going to be part of a very
platform-specific intranet, so don't harass me about it :)
(P.S. This problem doesn't happen when I change the event for activating the
menus from mouseOver to onClick, but that approach is a little inelegant in
practice... looks better when it's consistently mouseOver-based.)
-----------
Brent Eades, Almonte, Ontario
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Town of Almonte site: http://www.almonte.com/
Business site: http://www.federalweb.com
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------