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

Re: [ydn-javascript] Re: Is it possible to change the root node image in the tree view?

Expand Messages
  • abhishek Reddy
    how do i do that? tell me its urgent fx_aeb wrote: Hi, You can change this CSS property: .ygtvtp {
    Message 1 of 5 , May 1, 2008
    • 0 Attachment
      how do i do that?
      tell me its urgent

      fx_aeb <fx_aeb@...> wrote:
      Hi,

      You can change this CSS property:

      .ygtvtp {
      background:transpar ent url(treeview- sprite.gif) no-repeat scroll 0pt
      -6400px;
      }

      and also the .ygtvtm . So you can add your own, which will change
      every image of your tree. (tips:You can use firebug to find which
      class correspond to which element)

      If you only want to change for the first level, you should consider
      using icons:
      http://developer. yahoo.com/ yui/examples/ treeview/ customicons. html
      or adding a custom class to the first level

      If you have any more problem, please send a sample of your code.

      Francois-Xavier Aeberhard



      Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

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