I'm running drupal 4.6.3 and taxonomy_dhtml 4.6.0
Brief: In the categories menu (not the block) when selecting a term that is expandable (+), the child terms and nodes should appear beneath it in a list tree. With internet explorer 6 and java 1.4.2, the menus appear but the page then immediately loads the entire taxonomy (all items) for the term selected.
Detail: When you mouse over each top level term in the categories menu, the taxonomy path is displayed in the status bar i.e. http://www.mydrupalsite.com/?q=taxonomy/term/15/9. Normally, when selecting a top level item, it's child terms and nodes are expanded beneath it in a list and the browser URL continues to point to http://www.mydrupalsite.com/?q=taxonomy_dhtml (until a node is selected within the list tree).
In this case, the menu list tree appears briefly then the browser loads the entire taxonomy, visible in the browsers URL as http://www.mydrupalsite.com/?q=taxonomy/term/15/9.
This is not the case with all versions of internet explorer, with IE 6 and java 1.5 for instance, it works. I've meticulosly compared the browser configurations and could not isolate an option that would cause this behavior.
Comments
Comment #1
deskofsteve commentedThe javascript dhtml component that renders the menu tree - menuExpanded3.js - contains a return value of false in the actuator.onclick event function. 'return false' is a technique used to cancel an event when returning from a function. The event in this case is loading of the href that the actuator refers to (the taxonomy path for the parent menu item).
In some versions of internet explorer, return false doesn't cancel the event. To fix this, I did the following:
Replaced:
with:
I realize this isn't the most effective method to detect i.e. but it was a fast fix. Suggestions welcome.
Comment #2
(not verified) commented