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

Re: [ydn-javascript] Re: MenuBar: Setting sub menu group Title using JSON.

Expand Messages
  • Todd Kloots
    Prashant - File a feature request via yuilibrary.com and I will try to get that implemented for you in the next 2.x release. - Todd
    Message 1 of 4 , Sep 30, 2009
    • 0 Attachment
      Prashant -

      File a feature request via yuilibrary.com and I will try to get that
      implemented for you in the next 2.x release.

      - Todd

      On Sep 29, 2009, at 11:10 PM, prash_monte wrote:

      > Thanks Todd.
      >
      > Is there any plan to add this support in the future? Seeing that
      > this could be commonly used, it seems that it might be a good idea
      > to add JSON support rather than using setItemGroupTitle()
      >
      > Regards,
      > Prashant
      >
      > --- In ydn-javascript@yahoogroups.com, Todd Kloots <kloots@...> wrote:
      >>
      >> Prashant,
      >>
      >> You can't set a group title via JSON.
      >>
      >> - Todd
      >>
      >> On Sep 25, 2009, at 5:26 AM, prash_monte wrote:
      >>
      >>> Hi All,
      >>>
      >>> Is there a way to set the title for a sub menu group, in a menu bar,
      >>> via
      >>> JSON rather than using MenuItem.setItemGroupTitle ()?
      >>>
      >>> For.eg. Can I do something like this:
      >>> var aItemData = [
      >>> {
      >>> text: "Managing",
      >>> submenu: {
      >>> id: "managingMenu",
      >>> itemdata: [
      >>> [
      >>> { text: "Yahoo! Mail", url:
      >>> "http://mail.yahoo.com" },
      >>> { text: "Yahoo! Address Book", url:
      >>> "http://addressbook.yahoo.com" },
      >>> { text: "Yahoo! Calendar", url:
      >>> "http://calendar.yahoo.com" },
      >>> { text: "Yahoo! Notepad", url:
      >>> "http://notepad.yahoo.com" }
      >>> ],
      >>> [
      >>> { text: "Yahoo! Local", url:
      >>> "http://local.yahoo.com" },
      >>> { text: "Yahoo! Maps", url:
      >>> "http://maps.yahoo.com" },
      >>> { text: "Yahoo! Travel", url:
      >>> "http://travel.yahoo.com" },
      >>> { text: "Yahoo! Shopping", url:
      >>> "http://shopping.yahoo.com" }
      >>> ],
      >>> [
      >>> { text: "Yahoo! Messenger", url:
      >>> "http://messenger.yahoo.com" },
      >>> { text: "Yahoo! 360", url:
      >>> "http://360.yahoo.com" },
      >>> { text: "Yahoo! Groups", url:
      >>> "http://groups.yahoo.com" },
      >>> { text: "Flickr Photo Sharing", url:
      >>> "http://www.flickr.com" }
      >>> ]
      >>> ],
      >>>
      >>> itemgrouptitle:[
      >>> { text: "My Yahoo!"}
      >>> { text: "Yahoo! Title 2"}
      >>> { text: "Yahoo! Title 3"}
      >>> ]
      >>> }
      >>> }
      >>> ]
      >>>
      >>> Thanks in advance,
      >>> Regards,
      >>> Prashant
      >>>
      >>>
      >>>
      >>>
      >>>
      >>> ------------------------------------
      >>>
      >>> Yahoo! Groups Links
      >>>
      >>>
      >>>
      >>
      >
      >
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.