[ 1 post ]

Jim Miller

  • Username: jim_at_miramontes
  • Joined: Wed Dec 01, 2010 6:22 pm
  • Posts: 4
  • Offline
  • Profile

How to get to a yuimenu object after it's been created?

Post Posted: Thu May 19, 2011 2:23 pm
+0-
I'm got some yuimenu-based popup menus working, and, generally speaking, all is well. However, I've found that I need to get my hands on a menu object so I can do things to it after it's been created (e.g., hide an exposed menu when something else happens on the page). I can find the div of class yuimenu, but I need the object so I can (presumably) do a cfg.setProperty('visibility', 'hidden') or something similar on it.

So: How can I get this object? I've tried YAHOO.widget.Menu(theDivID), but that went down in flames. Thanks! (ps: If I'm going about this all wrong, please let me know!)
  [ 1 post ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum