Bug 13989 - Drop-down menus in navigation bar do not appear when clicked on WebFX site
Summary: Drop-down menus in navigation bar do not appear when clicked on WebFX site
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Evangelism (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://webfx.eae.net/
Keywords: NeedsReduction
Depends on:
Blocks:
 
Reported: 2007-06-04 09:59 PDT by David Kilzer (:ddkilzer)
Modified: 2007-10-10 10:16 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2007-06-04 09:59:12 PDT
* SUMMARY
When clicking on navigation bar buttons with drop-down menus on the WebFX site, the drop-down menus do not appear.

* STEPS TO REPRODUCE
1. Open Safari/WebKit.
2. Go to URL: http://webfx.eae.net/
3. Click on "About", "Articles", "Tools & Games" or "Links".

* EXPECTED RESULTS
The pop-down menu should appear when clicking on one of those buttons.

* ACTUAL RESULTS
Nothing happens.

* REGRESSION
This is not a regression as the same thing occurs on shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).

Tested with a local debug build of WebKit r21967 with the above software.
Comment 1 Ingo Chao 2007-07-07 04:42:09 PDT
The XMenu 1.12 (xmenu.js) used here is "designed to work in Internet Explorer, Mozilla and Opera." [http://webfx.eae.net/dhtml/xmenu/xmenu.html] 

The browser sniffing does not handle Safari at all.

The menu works on hover by telling that the UA is Mozilla 

Line44: var moz = true; // others set to false in Line 39-46

in combination with
Line76: webfxMenuUseHover = true; // see "Opera Focus Bug" in the documentation

According to the documentation,
"The menu system uses the events onfocus and onfocus to show and hide the menus. ... Opera does however not support focus on anchors so to get the menus to work in Opera the hover mode is used."

Don't know if Safari would support these focus-operations, but at least on hover, it works with the changes.

Tested with the download http://webfx.eae.net/download/xmenu112.zip


Comment 2 David Kilzer (:ddkilzer) 2007-07-07 13:43:17 PDT
Per Comment #1, this sounds like an evangelism bug--xmenu needs to be updated to work with Safari.

Comment 3 Emil A Eklund 2007-10-10 10:08:28 PDT
The xmenu component was updated to support Opera about a month ago. Please retest.
Comment 4 David Kilzer (:ddkilzer) 2007-10-10 10:16:34 PDT
(In reply to comment #3)
> The xmenu component was updated to support Opera about a month ago. Please
> retest.

Drop-down menus work great now with a local debug build of WebKit r26170 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).  Thanks!