Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] Yui Menu item is not functional.

Expand Messages
  • Satyam
    I don t know much about menus, but I am sure there must be some addXxxx or insertXxx methods to do what you want. Check the API docs, I m sure they will be
    Message 1 of 4 , Jun 25, 2009
    • 0 Attachment
      I don't know much about menus, but I am sure there must be some addXxxx
      or insertXxx methods to do what you want. Check the API docs, I'm sure
      they will be there.

      Satyam


      madan vetcha escribió:
      >
      >
      > Hi Satyam,
      > Thanks for clarifying this. As i am newbie to YUI, can you please let
      > me know if there is any way to solve my prob. Instead of dynamically
      > modifying the markup.
      > Any help would be greatly appreciated.
      >
      > Thanks,
      > Madan.
      >
      > ------------------------------------------------------------------------
      > *From:* Satyam <satyam@...>
      > *To:* ydn-javascript@yahoogroups.com
      > *Sent:* Thursday, 25 June, 2009 6:06:36 PM
      > *Subject:* Re: [ydn-javascript] Yui Menu item is not functional.
      >
      > Progressive enhancement, that is, reading existing markup to create YUI
      > widgets, only works once. Once the markup is read and replaced by its
      > YUI equivalent, you have to deal with the interfaces of the YUI
      > component, adding further markup won't change anything in the YUI
      > component at all.
      >
      > Satyam
      >
      > madan escribió:
      > > Hi,
      > > I am able to render the YUI menu successfully on first time.
      > > But when i add a new <li> item to markup (that my Menu is using --
      > 'basicemnu') dynamically by using document.createElem ent('li') . I am
      > able to see the new menu item in the menu, but it is not functional.
      > > Can some one help me on this. How to add a new submenu item into the
      > already existing menu's menu item.
      > > And my menu item is having an onclick event which actually calls a
      > javascript function..
      > >
      > > Thanks,
      > > maddy
      > >
      > >
      > >
      > >
      > > ------------ --------- --------- ------
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > > ------------ --------- --------- --------- --------- --------- -
      > >
      > >
      > > No virus found in this incoming message.
      > > Checked by AVG - www.avg.com
      > > Version: 8.5.339 / Virus Database: 270.12.90/2200 - Release Date:
      > 06/24/09 12:49:00
      > >
      > >
      >
      >
      > ------------------------------------------------------------------------
      > Cricket on your mind? Visit the ultimate cricket website. Enter now!
      > <http://in.rd.yahoo.com/tagline_cricket_1/*http://cricket.yahoo.com>
      >
      >
      > ------------------------------------------------------------------------
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - www.avg.com
      > Version: 8.5.339 / Virus Database: 270.12.90/2200 - Release Date: 06/24/09 12:49:00
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.