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

Re: [ydn-javascript] Menu Image root

Expand Messages
  • Todd Kloots
    Gabriele - You forgot prototype : YAHOO.widget.MenuModuleItem.prototype.IMG_ROOT = ... - Todd ... http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/edFolB/TM
    Message 1 of 3 , Jul 5, 2006
    • 0 Attachment
      Gabriele -

      You forgot "prototype":

      YAHOO.widget.MenuModuleItem.prototype.IMG_ROOT = "..."

      - Todd

      --- Gabriele Farina <g.farina@...> wrote:

      > Hi,
      >
      > how can I change the root for images used for the
      > menu ? I tried
      > changing at runtime (before creating the menu)
      > YAHOO.widget.MenuModuleItem.IMG_ROOT but it does not
      > work. I saw this
      > static property is copied into the imageRoot
      > property for every menu
      > item, but I load the menu from existing markup so it
      > would be to
      > expensive to iter trought all the items to update
      > the property.
      >
      > Gabriele
      >
      >
      > ------------------------ Yahoo! Groups Sponsor
      > --------------------~-->
      > See what's inside the new Yahoo! Groups email.
      >
      http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/edFolB/TM
      >
      --------------------------------------------------------------------~->
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      > ydn-javascript-unsubscribe@yahoogroups.com
      >
      >
      >
      >
      >
      >
      >
    • Gabriele Farina
      oh my god! :D tnx
      Message 2 of 3 , Jul 5, 2006
      • 0 Attachment
        oh my god! :D

        tnx
      Your message has been successfully submitted and would be delivered to recipients shortly.