Try adding something like the following to hide those menu's using the
'display' property:
addLoadEvent(function() {
hideElement('menu');
});
On Jul 10, 2:40 pm, jfagnani <[EMAIL PROTECTED]> wrote:
> I'm using toggle to display a drop down menu that's initially hidden.
> toggle seems to assume that the element is initially displayed, so it
> takes two call for it to show.
>
> Is there a common workaround for this? Shouldn't toggle check the
> display property of the element it's called on?
>
> Thanks,
> Justin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---