Closed (outdated)
Project:
DHTML Menu
Version:
6.x-3.5
Component:
Javascript code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2010 at 00:15 UTC
Updated:
7 Oct 2019 at 06:14 UTC
Jump to comment: Most recent
Comments
Comment #1
diodata commentedIt my case, it'd be nice to run a script once the expansion/collapse is complete. There are other cases where they could occur simultaneously as well.
As a temp workaround to the gradient background problem, I added the following line in dhtml_menu.js inside the Drupal.dhtmlMenu.toggleMenu function:
This is NOT a great solution! The setTimeout is necessary so it runs (sets the gradient background) after 50 0ms, which is enough time for the expansion/collapse to complete most of the time. Of course, I would prefer to NOT hack the module js file and make this run at the end of DHTML expansion/collapse.
Comment #2
vuilI close as Closed (outdated). It uses outdated Drupal 6 and module 6.x branch.