Rollover menu delay

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
topachou
Advanced
Advanced
Posts: 24
Joined: Wed Aug 06, 2003 10:18 pm

Rollover menu delay

Post by topachou »

Hi,

Is there a way to have the main menu items (images or text) not rollOut before the subMenu disapear ?

Like here : http://www.sgs.com

The delay is working fine when you roll out a sub menus : the main menu item disapear after the same delay as the sub menus.

But when you roll out a main menu item, the main menu item roll out immediatly while the sub menus disapear after delay (choosen with _menuCloseDelay=500).

I'd like to have the main menu item roll out when the sub menu disapear, after 500ms (not immediatly).

Anyone, please ? :)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Are you saying you want the 'red' color to remain longer after the submenu closes? I don't think that can be done, unless a function might be possible to make it do that.


Ruth
topachou
Advanced
Advanced
Posts: 24
Joined: Wed Aug 06, 2003 10:18 pm

Post by topachou »

No, I want the red color (over) to come back to white color (out) exactly when the sub-menu close (not before).

It's working when you roll out the sub-menu.
It is not working when you roll out the main menu item.

Just check here : http://milonic.com

Roll over "About Milonic". The submenu open. Roll out "About Milonic". The "over" state become the "off" state immediatly on "About Milonic". The sub-menu close after a delay of 500ms.

I hope I'm clear. ;)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Yes, I understand now what you want, however, they are two different functions which are not really linked together. They both function on mouseover/mouseout but they themselves are not linked. The only way I can think to 'match' them would be to set your menu close delay to 0 [zero] which means that the submenu closing would work in the same time frame as the return to the offbgcolor when you mouseout. Other than that, I can only suggest that maybe someone could write a js function to somehow allow you to define a 'mouseout' delay which you could apply to the offbgcolor event, then 'match' that event to the menu close delay.

Ruth
topachou
Advanced
Advanced
Posts: 24
Joined: Wed Aug 06, 2003 10:18 pm

Post by topachou »

Ok. Thanks for your reply.

I need the 500ms delay so I can't set it at 0.
And for the javascript function, I think I will wait a long time for it :)

So in my case, the answer is just : No. Not possible.

Bouh !
Post Reply